aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes display the corresponding table for each radio button in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "display the corresponding table for each radio button in jsp " Watch "display the corresponding table for each radio button in jsp " New topic
Author

display the corresponding table for each radio button in jsp

suganya vijaykumar
Greenhorn

Joined: Jun 22, 2008
Posts: 12
hi.. i am doning the library management project in jsp and servlets.. one of the model is book search.. in this page i have created 4 radio buttons like 1.search by name 2.search by author 3.search by publication. if i selected the first option it will ask the book name(i.e. will show the text box and submit button).. after clicking the submit button it will show the book list in table format.. i got the option and search string.. then i dont know how to proceed.. please help me.. now what i have to do in servlet.. i can get the resultset accourding to the search string. but again i need to display in same jsp page..
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
look into onclick and document.getElementById("someId").style.display and none/block.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: display the corresponding table for each radio button in jsp
 
Similar Threads
help in radio button
How can I catch the radio button action in jsp?
Transfer the variable value from one jsp page to other
dropdown menu default value from table
Only for one data in the text box