In HTML, a connect contact publication form Submission

Source: Internet
Author: User

<! doctype html public  "-//w3c//dtd xhtml 1.0 transitional//en"   "HTTP// Www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 

???? note: the href attribute in the
①a connection cannot be empty. Cannot be a URL address (null equals URL is the URL address of this script), this will be submitted to the form form the action, and then jump to the address specified in the a tag, even if the hyperlink address in the A tag and the form form the same URL address, you can not get the value of the form form Span style= "Display:none; line-height:0px; " >?

(I guess) because this is the equivalent of two times to enter the page: the first is to jump through the form, the second is through a tag jump. The second jump clears the post so it doesn't get a value.

② Although the form submission is triggered by JS, the form tag must also have <input type = "Submit" .../>

③JS triggers a commit in two ways: the Submit () that triggers the form; Event | | The Click () event that triggers the Submit button. Two of them. I tried it.

? ? ? ? ? ? ? ? ? ? ? ?

In HTML, a connect contact publication form Submission

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.