Show Password
‘Show password’ is a small and simple Jquery plugin that let your users decide whether they want their password fields masked or not.
“Usability suffers when users type in passwords and the only feedback they get is a row of bullets. Typically, masking passwords doesn’t even increase security, but it does cost you business due to login failures.” – Jacob Nielsen, Stop password masking.
This Jquery plugin, ‘Show password’, let the user decide whether they want their passwords masked or not. Just take a look at the demo beneath and you’ll see what I mean.
How to implement
Very simple! First you download, then you do like this:
- <input id="text" type="password" data-typetoggle='#checkbox' />
- <input id="checkbox" type="checkbox" /><label>Show password</label>
Two html elements are needed; a password field and a checkbox. The input field needs an extra data variable, data-typetoggle, to link the checkbox to the field. Then you just execute the javascript line below.
- $('#text').showPassword();
| Version | Changes |
|---|---|
| 1.3 | New syntax using HTML5 data variables. |
3 days ago
Wow! I don’t even remember anymore how I managed before this new awesome boilerstrap. http://t.co/bWzwqVf2
3 days ago
If you like coding and competing and want to see Stockholm at its best; Checkout Escape from /dev/null – DICE edition. http://t.co/0SapzZxz
4 days ago
Last night @soe, @tussetor and I won #sthlmstartuphack and the best trophy ever. http://t.co/CJ15cNml
4 days ago
Thanks @kalasjocke, @martinaelm, @javve for a super fun event. Thanks @soe, @tussetor for being awesome teammates. #sthlmstartuphack
5 days ago
Going where none has gone before and pushing the boundaries of what has been called done. Mine, @soe, @tussetor #SthlmStartupHack app ≈Done
6 days ago
Selected map, data and chart tools. http://t.co/I7l6qq4O (via @VirUZI) So much joy in one single place!
7 days ago
How can Comic Sans make people buy your app? http://t.co/KYLGeIW2