Meaningless Drivel is fun!*
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
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: 60822
    
  65

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
 
Similar Threads
How i write the code so that at on submit as well as at onload we call same servlet i
Populating fields with data on clicking radio button
Reloading the page data
Problem in onclick radio and dynamically populated table
Contents of one form on another one.