Ajax output data, how to get another page. How to submit the value of the chk to get through the form.

Source: Internet
Author: User
This post was last edited by qq914260102 on 2013-10-16 10:16:03

  





Reply to discussion (solution)

Put the value of id= "chk" into a hidden field. Then submit PHP to get it.

Put the value of id= "chk" into a hidden field. Then submit PHP to get it.


I tried it this way, and I couldn't get it.

Assign a value of Val () to input, and confirm that the ID in a page must be unique.

Assign a value of Val () to input, and confirm that the ID in a page must be unique.
Lead, can help me write a code, I will not write.
There is also a problem, that is, I entered the title content inside the title, through Ajax will automatically query out the relevant title, the query out of the display through ID=CHK display. The content is displayed, there is a check box, I can tick the section, along with the title content to submit. The problem I am encountering now is that Id=chk shows the content, I tick the section after submission, how to get to this tick value.



The above page is saved as test.php how can I get the contents of the output to id= "Chk" in ser.php. What to add to the test.php page, and how to get it in ser.php.

Then write the data to the check box.

Then write the data to the check box.
30 points added, please lead the help.

Your HTML code is not affixed to the full

is just the beginning of the code.








What I want to do now is to query the relevant content via Ajax, and then submit it with the content tick and title.

Now it is all the results of the CHK have been submitted together.

How many check boxes are available for each request? check box code you didn't post it.

For $ ("#chk"). HTML (data);
You should post the value of data!
If the data contains a form variable, it will not be committed
The reason for using hidden fields is that you are not stating that the form element

For $ ("#chk"). HTML (data);
You should post the value of data!
If the data contains a form variable, it will not be committed
The reason for using hidden fields is that you are not stating that the form element

?


Title 2


Title 3


Title 4

How many check boxes are available for each request? check box code you didn't post it.

Each time a few check boxes to see the user's own choice, he can also choose one, you can select more than one, can not select, you can choose All.

I'm adding a few points, thanks.

check boxes that are not checked are not committed

check boxes that are not checked are not committed

But I like this, how to get to these check boxes ah ...

check boxes that are not checked are not committed

The owner you do not understand my meaning, my these checkboxes are obtained from Ajax, how to get the part of the selection in and other text boxes to submit to another page, not submitted to the Ajax page again.

Title 1

  • Just my , is the value displayed by the intercepted id= "Chk". The result of my other AJAX processing page check.php output is what it looks like. I just ticked off 2 and 4. This is all the code.
    obtained by outputting the caption:

    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.