Can anyone explain to me what this error means? I would appreciate it a lot for any kindof help with this.
<form class="form" id="form" action="/mailer.php" method="post">
The Jquery code I’m using for it is this.
$('#form').submit();
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.
Check the form to see whether there is a
HTMLInputElementwith id or name issubmit.This will set a property
submitto theHTMLFormElement, so thesubmitfunction which is in the prototype of the form element can’t be executed.Example:
js:
jQuery’s
.submit()method will call the.submit()on the original dom element, so the error will happen.