Trying to change input type attribute from password to text.
input
password
text
$(\'.form\').find(\'input:password\').attr({type:\"text\"
This should work easily.
$("selector").attr('type', 'hidden'); //Changing it to hidden