Search the Community
Showing results for tags 'input'.
Sometimes you have some input fields you want to show to the end user but not allow them to edit. For example a profile page where they can update their name, phone number, change their password, but you may want to restrict them from modifying their email address. Whatever the case may be here's a simple jQuery example of how to disable a text input field on page load. <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="descriptio
What's the best way to align text and a input field. With the below code everything works correctly, but the alignment of the text and the actual input fields are all over the place. You can see the example here: http://jsfiddle.net/gallitin/nsPdB/ How can I make them all align evenly the best way?