Password Show and Hide Checkbox Button



This one is an very simple trick and tool which shows a password or hide it just by clicking on the check bar button

All you need to do is copy this code and paste it where you want to show the code

<input type="password" class="password"><br>
<input type="checkbox" id="showHide"> Show for hackerprime.com

and then copy this code and paste it just above </body>

<script type="text/javascript">
 $(document).ready(function () {
 $("#showHide").click(function () {
 if ($(".password").attr("type")=="password") {
 $(".password").attr("type", "text");
 }
 else{
 $(".password").attr("type", "password");
 }

 });
 });
</script>

Thats it 

Comments

Popular posts from this blog

Youtube Video Presentation

Create Quality and ClickBait Thumbnail

How to hack wifi using backtrack