Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery show password

 $("#showpaswd").click(function () {
        var x = document.getElementById("cpassword");
        if (x.type === "password") {
            x.type = "text";
        } else {
            x.type = "password";
        }
    });
 
PREVIOUS NEXT
Tagged: #jquery #show #password
ADD COMMENT
Topic
Name
2+9 =