When we are entering the username in a textbox in a browser, the recently used usernames are shown in a drop down list automaticaly. I want to avoid this for the secure web page.
How can this be done?
When we are entering the username in a textbox in a browser, the recently used usernames are shown in a drop down list automaticaly. I want to avoid this for the secure web page.
How can this be done?
are you heard a term called autoComplete..
<input name="q" type="text" autocomplete="off"/>
Use autocomplete="off"
attribute in the <input />
tag. If this does not work in certain browsers, you can use a cross-browser-compatibility workaround :
<input type="text" style="display: none;" autocomplete="off"/>
<input type="text" autocomplete="off"/>
This tricks the browser into auto-filling the hidden element.