$ ("# Form"). submit () in jquery does not work when the form is rewritten.

Source: Internet
Author: User

Problem: Recently, jqeury's validationEngine was used for ajax verification. When the last field in the form needs ajax verification, it does not work when the field input is complete and you click Enter to submit the form, you must click the submit button again. Analysis: After tracking its source code, it is found that the form is submitted again after ajax verification is successful, but the form cannot be actually submitted. Cause: it's weird because my button name for submitting a form is submit. Just get rid of it. <Input id = "submit" type = "submit" class = "btn pull-left" value = "login">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.