How to show and hide the text entered as a password

I want users to be able to see what they type in the password field. For example, as soon as they type a letter in the field, they should see what was printed, and the letter should return to their default stamp

+3
source share
1 answer

This jQuery plugin does what you want: https://code.google.com/p/dpassword/

The blog post contains details .

Another option is to change the field type using the checkbox ("Show password?"). To do this, switch the element type inputbetween textand password. If this does not work, you need to create a new element inputand copy the value.

Security Note: Password is hidden for some reason. To give you an idea of ​​the possible attacks, here are the ones I know about:

, .

:

+1

All Articles