This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Populating fields with data on click of radio button

Ranjeetitm Singh
Greenhorn

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...


SCJA SCJP SCWCD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61447
    
  67

Please post a question at most once.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Populating fields with data on click of radio button