I want to submit a with using jquery as below;
$('#formid').submit();
Its working perfect in all browsers except IE6.
How to make it work in IE6 ??
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 probably have an
<input name='submit' />somewhere in your form, which overwrites the function ‘submit’ of the form in IE.Edit:
I have tested in some other browsers. The latest versions of all major browsers seem to be affected by this issue.
Bottom line: Never name your inputs ‘submit’, or any other default property or method of the form element (e.g. ‘action’ or ‘reset’) . See MDC for a complete overview.