Hi,
I have two dropdown lists. These lists take their values from database. The first lists have some titles. When you choose one, the second one's lists must be change according to the first one.
How can I do this?
Related Dropdown Lists
Moderator: General Moderators
-
mustafamisir
- Forum Newbie
- Posts: 23
- Joined: Wed Jun 22, 2005 1:00 pm
- Contact:
The term for that is "Chained Selectors". Google for that, and possibly "Javascript" as well.
http://www.mattkruse.com/javascript/dynamicoptionlist/
Does almost exactly what you describe. Hope that helps.
http://www.mattkruse.com/javascript/dynamicoptionlist/
Does almost exactly what you describe. Hope that helps.
- harrisonad
- Forum Contributor
- Posts: 288
- Joined: Fri Oct 15, 2004 4:58 am
- Location: Philippines
- Contact:
Hi. I also used that trick and I a bothered by it's slow performance when the number of items are large. The page will load after about 3 seconds(not including the graphics) and the form events will consume another 5 seconds to refresh the list.
Because of this, I prefer to load the page when an item of the first select box is selected.
Because of this, I prefer to load the page when an item of the first select box is selected.
Last edited by harrisonad on Wed Aug 03, 2005 7:44 pm, edited 1 time in total.