Home > Article > Web Front-end > jquery implements submit submission form_jquery
When using jquery’s submit() function to submit a form, the form cannot always be submitted. This problem is so weird because the name attribute of the input in the form submission form is submit. If you change the name to another name, it can be used.
After the form could be submitted, a new problem arose. Because it is developed based on dz, after the form is submitted, the submitcheck() function is used to check whether the form is submitted. The form submitted by jquery can never be verified. Finally, it is implemented by simulating clicking the submit button.
The method is very simple and practical. I recommend it to my friends. I hope you all like it.