How to Prevent the page button from being submitted multiple times, and click submit on the page
Problem Background:
In the KPI classification rating assessment system at hand, the submit Button on the page is made with a LinkButton or Button. When
Today in doing additions and deletions to change, using the Javascrip language, add and modify after completion, in the delete, you need to use form form to obtain.The problem is that after adding a form, adding and modifying features doesn't make
The difference between the two isThe button does not automatically submit the form data, only performs the event handling within the onclick, and if the data is to be submitted, it needs to be added document.form1.submit (); such asSubmit the form
Note: Someone has translated this article and re-recognized the button tag. However, it seems that many of them are worthy of scrutiny and are not easy to understand. Therefore, I re-translated this article based on my personal learning experience.
Story Origin: In fact, this problem has been met yesterday, but yesterday is a company's old staff to help me this intern, and I do (guess) set (test) That old staff also do not know this difference. And then today we have the same problem.Synopsis
Document directory
Input vs button
For each program designer, providing users with a unified interface is a constant requirement. However, it is extremely difficult to unify the style on the webpage, because the webpage content is poorly
Buttons | tips
For an interactive form, buttons are essential. Buttons are generally divided into two categories, the class itself has a specific function, called a special button, such as Submit button-for the transmission of information filled by
Button | Web page do you feel that your homepage is not beautiful enough to make it change? Have you heard of the style table? Is the CSS, it is the one that allows you to more accurately control the pages of the stuff. Let's take a look at two
The CSS3 implements the Submit button to wait for the dot loop effect:This section shares a code example, which implements the Submit button wait effect.This effect is more humane, can make the user very easy to guide, the webpage is in the work,
This article mainly describes how to prevent a Web page from refreshing duplicate submissions and how to prevent backward solutions, specific as follows:
Disable the Submit button after submission (most people do this)
What if the customer submits
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.