• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

display the corresponding table for each radio button in jsp

 
suganya vijaykumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look into onclick and document.getElementById("someId").style.display and none/block.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic