I have a form field where users can change their password, but if they set their settings to remember the password , Their password is displayed. Is there any way to empty the area always? So that they can always type their password.
& lt; Label for = "oldpassword" class = "style" & gt; Old password: & lt; / Label & gt; & Lt; Input type = "password" id = "old password" name = "old password" /> gt; & Lt; Br / & gt;
You can clear the old password immediately after the page loads.
Use of jQuery:
setTimeout (function () {$ (': password'). Val ('');}, 1000/1000 milliseconds = 1 second );
Comments
Post a Comment