Jump to content

ajax question


Lohmeyer

Recommended Posts

how do i retrieve a value from a generated content ?here try this link and generate using these test values 6, 3, 2, 3, 3, 10http://farez.x10hosting.com/planetruss.htmli want to retrieve value from the generated contents.. how do i do that?
Your generated content needs to include the mechanism for retrieving the values.For instance, when you're generating the input boxes, also generate a button to send their data. Or generate event handlers that use further AJAX stuff to send their data to the server.
Link to comment
Share on other sites

You are giving the select boxes IDs like nmpx1, nmpy2 etc, you can use those IDs in Javascript to get the values, or if you want the values to get submitted with a form make sure you also assign a name attribute in addition to the id.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...