Possible Duplicate:
jQuery change input type
How to replace input[type=submit] to input[type=text] using jQuery?
This way does’t work:
$('input[type=submit]').removeAttr('type').attr('type','text');
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t change that property type (don’t know why but that is what firebug logs), so the best thing you can do is to totally remove the input-element and insert a new input with the correct type.
Use jQuery with something like this: