I am having countries stored in db and want to show it to user in combo.
Please help.
After user selects country corresponding states should be shown in other combo.
Pls help
Populating Combo from db
Moderator: General Moderators
Re: Populating Combo from db
This is known as "cascading" dropdown lists. You will find many references if you use those as search terms in a web search engine. Here's one such reference:dumlee wrote:I am having countries stored in db and want to show it to user in combo.
Please help.
After user selects country corresponding states should be shown in other combo.
Pls help
http://forums.digitalpoint.com/showthread.php?t=703846
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Populating Combo from db
Take a look at the following link:
Chained selects
Chained selects
Chained Selects lets you "chain" multiple form select lists together so that the selection in a "parent" list can tailor the options available in a "child" list. Chained Selects supports unlimited number of form select lists in a "chain", as well as unlimited number of "chains" in a page.