Is there a way to enter a default text to a password field?
Basically I have a password field that is supposed to mask someone’s id but before the user enteres the id, I want the field’s value to show ‘Enter your ID here’
Is there a way to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to use plain javascript, you could do:
HTML
Javascript
http://jsfiddle.net/Lx4NN/1/