Submitting forms uses submit to automatically submit form data, if you want to change the submit button to a button when you use jquery's form form plug-in ("#表单id"). Ajaxsubmit ({}); If the button or the use of submit is equivalent to the submission of two form the first time is the click button when the second is jquery ajaxsubmit (), when using AJAX submission when the background will not be able to get the data normal or data can be taken;
Submit data at Submission
Autocommit is equivalent to clicking the Submit button when you submit a single submission without us submitting the form manually;
Button commits data
Way One: Ajax
You can manually use JS fetch and then AJAX to send data or jquery form plug-ins (form plug-ins are also AJAX submissions);
Mode two: normal submission
Gets the corresponding form data when the button is triggered using JS's summit method or onsubmit event;
Submit differs from button difference submission