Trying to change input type attribute from password to text.
input
password
text
$(\'.form\').find(\'input:password\').attr({type:\"text\"
USE prop instead attr
prop
attr
$('.form').find('input:password').prop({type:"text"});