A simple show / hide password function using Javascript.
you have entered your password correctly, so you can connect to the network in the first attempt.
I think it's a nice feature to have in any application. But in terms of security, it will not be nice :-)
Anyway, I just liked it and I wanted to make a little login page with that option included. Here is the Javascript function. It's too simple. I'm not even thinking to include this feature in any of my real applications though :-)
Note : Having your password exposed to someone else will make dangerous things happen! Therefore you should never let anybody know your passwords of important and private accounts like Gmail, Facebook etc. A person can even guess your password by looking at the keyboard while you type, and the number of asterisks that appear in the password box. Therefore be conscious.
Here is the code.
Pasword : <input type="password" name="password" id="password" /> <br/> <input type="checkbox" value="1" name="reveal" id="reveal" onchange="reveal_pass(this); "> Show Password <script type="text/javascript"> function reveal_pass(check_box){ var textbox_elem = document.getElementById("password"); if(check_box.checked) textbox_elem.setAttribute("type", "text"); else textbox_elem.setAttribute("type", "password"); } </script>Here is a Demo :-)
Pasword :
Show Password
What do you think about the protection of your passwords? Do you think this is a good idea or a bad idea?
Best One Answered
ReplyDeleteBig data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai
DeletePython Training in Chennai Python Training in Chennai The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai
so short and so efficient. Thank you...
ReplyDeleteGreat for protected websites with a master passwd. Small piece of code but efficient.
ReplyDeletegood
ReplyDelete
ReplyDeleteHealth Is God aims to deliver the best possible health reviews of the supplement collections and other wellness production that range from skincare to brain, muscle, male enhancement and brain health conditions. You, the user are of utmost importance to us, and we are committed to being the portal that sustains your healthy lifestyle. Visit for more- Health is God
I think this is a real great article post.Really looking forward to read more. Visit at
ReplyDeleteCrazy Video Hub
It is a great job, I like your posts and wish you all the best. and I hope you continue this job well.
ReplyDeletehttp://nutratline.com/
"I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me.
ReplyDeleteRead more here:
kim kardashian sex tape
porn sex video hd
mia khalifa sex video
sunny leone sexy movie"
Hello, I am thomus jons thank you for this informative post. That is a great job. Wish you more success.Thank you so much and for you all the best. Takes Down
ReplyDelete123movies