This error occurs when you use jquery and a form input element such as button with id or name as "submit"

When we have an element with name or id as "submit", it overrides form.submit. Look into this form for example.

Additional Notes from jquery documentation:
Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method. Name conflicts can cause confusing failures. For a complete list of rules and to check your markup for these problems


Comments (0)
Leave a Comment

loader Posting your comment...