question:
Recently, I used jqeury's validationEngine to do ajax verification. When the last field in the form needs to be ajax verification, click Enter after the field is entered, and the form is not effective. You must press/click the submit button again.
analyze:
By following the source code, I finally found that after the ajax verification was successful, the form was submitted again, but I still couldn't really submit the form.
reason:
It's weird because my submit form button name is submit. Just change it.
Copy the codeThe code is as follows:
<input type="submit" class="btn pull-left" value="Login">