Trying to change input type attribute from password to text.
input
password
text
$('.form').find('input:password').attr({type:"text"});
Why this doesn't work?
my solution:
$('#myinput').clone().attr('type','tel').insertAfter('#myinput').prev().remove();
1.4m articles
1.4m replys
5 comments
57.0k users