• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Auto generate drop down list

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic