• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Auto generate drop down list

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to implement a page that have a drop down list and on clicking any one of the value in the list, then a second drop down list will automatically grab some value from a table in a database and list it down accordingly. I have seen this being implemented on some registration page on the net.
For example a drop down list with all the names of the countries. When a country is selected, example US then a second drop down list will load all the names of the states in US. How can I do this using jsp?

Thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sort of thing is implemented mostly with Javascript on the client side. And since this has been discussed in that forum quite a few times, I'm moving this along to the HTML/Javascript forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic