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
Release: 2016-05-16 19:18:49
Original
1362 people have browsed it

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!

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template