Button and submit, buttonsubmit
Submit is a special case of a button and also a kind of button. It automatically integrates the submit action.
If the form needs to be processed (including input verification) by clicking the submit button and then
Button and submit, buttonsubmit
Original article from:
Http://blog.sina.com.cn/s/blog_693d183d0100uolj.html
Submit is a special case of a button and also a kind of button. It automatically integrates the submit action.
If the form needs to be
Original from:Http://blog.sina.com.cn/s/blog_693d183d0100uolj.htmlSubmit is a special case of the button and a button, which automatically integrates the commit action.If the form after the click on the Submit button need to use JS processing
Submit is a special case of a button and also a kind of button. It automatically integrates the submit action. Both submit and button are displayed in the form of buttons. They both look like buttons, what is different is that the submit attribute
Submit is a special case of a button and a button that automatically integrates the commit action.
If the form needs to be processed with JS after clicking the submit button (including input validation), usually have to change the submit button,
Input commit behavior description for the type of submit of the same nameThis situation,
It can be used as a button for submitting content, which is sent to the parameters of the server segment, corresponding to the button
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
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,
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(
Typically, only one submit button with a "type" attribute value of "submit" is allowed in a form, and :submit the selector can be used to get the submit button element in the form.For example, add several different types of buttons to the form, use
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.