aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Auto generate drop down list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Auto generate drop down list" Watch "Auto generate drop down list" New topic
Author

Auto generate drop down list

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
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

Joined: Jan 10, 2002
Posts: 61648
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto generate drop down list