This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
jQuery in Action, 2nd edition
 
subject: Dynamic chnage on List from chnage on DropDown(ComboBox)
 
Similar Threads
Dropdown list values should be not be same in all 3 dropdowns
drop down box using struts
WA #1.....word association
ice:selectOneMenu not refreshing
dynamic dropdown