• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display values in drop down menu

 
swetha deshmukh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are 2 combo boxes(select-option) when i select a value(ChannelId) in a combo box then its related info should be displayed in other box(ProgrammeNames for that particular ChannelID).
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use javascript or submit the request to the server and send back the new page with the second combo.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a demo app that does this on my site
http://simple.souther.us/not-so-simple.html
Look for DynamicSelectLists.

Most of the work is done in servlets and beans but the logic would be no different in a model 1 JSP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic