Home >Web Front-end >JS Tutorial >A question that has been omitted, about repeated form submission_form special effects

A question that has been omitted, about repeated form submission_form special effects

WBOY
WBOYOriginal
2016-05-16 19:18:491349browse

JSCRIPT when doing login judgment on the homepage:

The following is the code:
Copy the code The code is as follows:

When recording, I actually found that there are many records with the same one, which is very frustrating ~ My FORM ACTION sentence is:


There is a form1.submit() during detection, and form has an action , so it was submitted twice.

Change the code and change form1.submit(); in JSCRIPT to reture true; The problem is solved.

--->> Details determine success or failure! Do the little things around you well and do them well!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:If you are lazy, be lazy to the end - automatic mouse click (including time judgment)_javascript skillsNext article:If you are lazy, be lazy to the end - automatic mouse click (including time judgment)_javascript skills

Related articles

See more