File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Populating fields with data on click of radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

Populating fields with data on click of radio button

Ranjeetitm Singh

Joined: Oct 01, 2008
Posts: 17
Hi all, I have a jsp page . On the left side of this page some fields from a table in database is being displayed. The no of rows getting displayed varies according to the search criteria chosen by the user earlier. It looks like below.

I am displaying the above data by iterating over the resultset

Now I want that when a particular radio button gets clicked then , all the input fields on the right side of the page get populated with the data ,corresponding to that record, so as to enable the user to edit that record . At the same time data on left side should remain visible so that the user can choose a different record to edit. Means the page should not be refreshed.

How to do this
Thanks to you all...

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Please post a question at most once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Populating fields with data on click of radio button
jQuery in Action, 3rd edition