Trying to change input type attribute from password to text.
input
password
text
$(\'.form\').find(\'input:password\').attr({type:\"text\"
function passShowHide(){ if( $("#YourCheckBoxID").prop('checked') ){ document.getElementById("EnterPass").attributes["type"].value = "text"; } else{ document.getElementById("EnterPass").attributes["type"].value="password";}