C
Charles Packer
I need to present a list of options in dropdown list B
based on what the user selected in dropdown list A.
Both A and B content will be generated dynamically from
a database, similar to the way http://cars.com lets the user
select the make of a car, which in turn populates a list
of models. (That site itself is no help, since the
relevant functions don't appear in the source of the page.)
A URL of an appropriate Javascript tutorial or example
would be welcome. The tutorials I've found so far use
static option lists. I guess what I really need is to
see how an option list can be generated dynamically.
I've tried Googling for Javascript tutorials containing
"onChange", but haven't found anything useful yet.
based on what the user selected in dropdown list A.
Both A and B content will be generated dynamically from
a database, similar to the way http://cars.com lets the user
select the make of a car, which in turn populates a list
of models. (That site itself is no help, since the
relevant functions don't appear in the source of the page.)
A URL of an appropriate Javascript tutorial or example
would be welcome. The tutorials I've found so far use
static option lists. I guess what I really need is to
see how an option list can be generated dynamically.
I've tried Googling for Javascript tutorials containing
"onChange", but haven't found anything useful yet.