Hello,
My problem is that i would like to have login input fields with text inside, like facebook has:
(email & password fields)
The email text input field has the text "email" in it statically until start to type something else, and password input field has text "password".
Facebook front/login page has also a functionality to select the email field straight away on refresh, so that the user does not have to select it, but can just start typing login info. How can i do this function?
for example password field html:
<input type="password" class="inputpassword" id="reg_passwd__" name="reg_passwd__" value="" />
From this i can see that the word typed inside the value field will come visible to the password field, but facebook html code has an empty value="" so the words email & password must come from somewhere else...javascript?
<input type="password"/>
This will make the inputted text into censoring balls
<input type="text" value="password"/>
This will bring the word password on the input field on every refresh.
Facebook input field has html input tag type=password value="" and the censoring balls appear when start to type. How is this done?
Thank you very much for all the answers!
My problem is that i would like to have login input fields with text inside, like facebook has:
(email & password fields)
The email text input field has the text "email" in it statically until start to type something else, and password input field has text "password".
Facebook front/login page has also a functionality to select the email field straight away on refresh, so that the user does not have to select it, but can just start typing login info. How can i do this function?
for example password field html:
<input type="password" class="inputpassword" id="reg_passwd__" name="reg_passwd__" value="" />
From this i can see that the word typed inside the value field will come visible to the password field, but facebook html code has an empty value="" so the words email & password must come from somewhere else...javascript?
<input type="password"/>
This will make the inputted text into censoring balls
<input type="text" value="password"/>
This will bring the word password on the input field on every refresh.
Facebook input field has html input tag type=password value="" and the censoring balls appear when start to type. How is this done?
Thank you very much for all the answers!