By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,008 Members | 597 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,008 IT Pros & Developers. It's quick & easy.

Onclick radio Populate form, table dynamically.tables radio onclick populate field

P: 1
Hi all, I have a problem related to javascript , ajax and jsp.
Please see this url

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 I can handle onclick event on its radio button.
I am pretty much new to ajax. please tell me how to achieve this.
Aug 14 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
The idea is the same except that you pass on the value of the radio button to the script when clicked/selected and not when not selected.
Sep 5 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.