It's not a secret anymore!
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

Win a copy of Head First Android this week in the Android forum!
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: 63053

Please post a question at most once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Populating fields with data on click of radio button
It's not a secret anymore!