GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic chnage on List from chnage on DropDown(ComboBox) 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 "Dynamic chnage on List from chnage on DropDown(ComboBox)" Watch "Dynamic chnage on List from chnage on DropDown(ComboBox)" New topic
Author

Dynamic chnage on List from chnage on DropDown(ComboBox)

rajee Malar
Greenhorn

Joined: Nov 14, 2003
Posts: 9
I need to create one dropdown(conmbo box) and one list.
When there is a chnage in a dropdown, list values should change dynamically.
For example, dropdown will have list of auto manufacturers (like Honda, Toyota, Mazda)
So if I select Toyota on the DropDown the list will say (Camry, Corolla, 4 runner, Land Cruiser). All these datas are in the database.

Please help me on this.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
This is how you do it.
http://javascriptkit.com/script/cut183.shtml
Eric
 
GeeCON Prague 2014
 
subject: Dynamic chnage on List from chnage on DropDown(ComboBox)