Because of the style of the problem I want to give a a tag to the submit button to set a type for it is submit, but found that the failure to commit failed to submit a few times can only be a button tag or the input tag to submit success is not the
Because of style issues, I want to set a label a to the submit button and set it to the submit type, but I found that the submission failed and tried several times only the button label or the input label can be used. if the submission is successful,
We should control the Submit button when the form is submitted, and cannot click repeatedly to submit the data. Otherwise there will be redundant duplication of data in the system, causing the system to appear data garbage. jquery is simple enough
The headline might say a little pompous 0.oIn the previous page, the Submit button in the form form was writtentype= "Submit"/>However, always feel that there is no easy-to-set style, so write a JS function to convert the a tag to the Submit
This article mainly introduces the type of HTML button tags, as well as the role and use of HTML button tags, and finally the use of examples, now let's look at this article together
First look at the HTML button label how much do we know?
There
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.
Type = "button" and type = "submit", buttonsubmitType = "button", "submit)
Submit is a Button used to Submit a form. There are two main differences between Submit and Button:Type = button is simply a button FunctionType = submit is the sending form(
Submitted in this manner, when the input value is 22222222, the URL submitted later becomes localhost:3980/input.html?name=222222Some of the notable details include:
When you set the Type=submit, the input control becomes a button with the text
Original source: https://www.cnblogs.com/shadada/p/9116455.html1 23 name: 45 6 Submit Specific idea: Use the onclick event of the a tag to get the ID of the form to perform the submit operation of the form form, that is, to execute the Submit event.
Cause Analysis and Solution for failure to submit forms using the submit method in JS and jQuery, jquerysubmit
Yesterday, when I made a form to asynchronously submit content, I encountered a very strange problem. The submit () method could not be
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.