Questions about Ajax data filling forms

Source: Internet
Author: User
Ajax requests data from the server through the client Ajax and fills it in the DOM. the filled data is: & lt; input & nbsp; typetext & nbsp; nameinfo & nbsp; & gt; why can't I retrieve the info value if I want to submit a form from the ajax request? Ajax data filling forms
The client Ajax requests the server's data and fills it in the DOM. the filled data is:
// Ajax request data

If you want to submit a form and cannot obtain the value of info, why?

Share: More


------ Solution --------------------
Ajax is used to obtain the value of the form control. Generally, this control is added with an id attribute, and getelementById is used to obtain the value. The input mark of the landlord does not contain the id attribute. With ajax technology, you do not need to mark the form.
------ Solution --------------------




Product Type:
Select Product Type MusicForklift truck

Select the product type to improve the product attributes.






Are you kidding?
GetAttrList is called in an invisible layer
The drop-down list is not visible. how can I execute getAttrList?
Since it cannot be executed, no relevant data is submitted.

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.