I am working on this form. There are some buttons (like submit , add ,edit at bottom of this page , but not visible in printscreen).
On click of a radio button on left side , form fields on right side and small table on right bottom is gettig populated. The table on right bottom , is actually the eligibility criteria associated with the record whose radio was clicked on left . On clicking radio of this record(right side) , I want to populate its values in the above text boxes present right in front of text "Eligibility".
During the whole click process (clicking the left and right radio button ) page should not get refreshed.
I am able to show records on left side by iterating over a resultset (in jsp) and able to populate field on right side also, but have no idea how to populate table on right bottom dynamically such that on click of its radio button , values gets populated on fields above.
Please tell me how to achieve this. Thanks in advance for any help.
Have you done any Ajax examples/tutorials of pulling data into a page?
Joined: Oct 01, 2008
I have only read ajax tutorial given on w3schools.
Please guide me how to achieve this, even if the possible solution is by the use of Ajax.
I tried this.
Joined: Nov 08, 2001
Start out small trying to get data from the server, than try to figure out if you are returning HTML from there or JSON. It all depends on your design. Without knowing specs, I can not help you out. Plus I am not going to do your job for you.
Try running through more tutorials and not just one basic one.
subject: Problem in onclick radio and dynamically populated table