I checked the information on the Internet, and the reasons boiled down to two points:
1. The id
of the button button with name=”submit” can
not be set to submit in the form, otherwise it may cause confusion, and the submit() method of the form cannot submit the form . When naming the ID, it is best not to repeat the name with the existing api to avoid unnecessary trouble.
Analysis of the reasons why form.submit() cannot submit the form
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326393826&siteId=291194637
Recommended
Ranking