HTML
<input type="password" id="pass"/> <input type="button" value="Show Password" onClick="showpassword();"/>
JavaScript
function showpassword(){
document.getElementById("pass").type = "text";
}
Example
Click Here to DEMO
[ Resources for Web Dev & Designers ]
<input type="password" id="pass"/> <input type="button" value="Show Password" onClick="showpassword();"/>
function showpassword(){
document.getElementById("pass").type = "text";
}
0 comments:
Post a Comment