Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filter Drop Down based on radio button

Status
Not open for further replies.

ScrewBalll

Programmer
Jan 14, 2005
18
GB
Hi Guys,

I'm in need of some help with regards to filtering the options in a drop down based on the value of a radio button (i think I want to hide and show them as appropriate).

I'm using asp to return a recordset of makes and models of cars, initially all the models populate the drop down list. What I want to do is specify the make of car in the option group, which by making use of the onclick event will filter the model list for specific models to that make.

Does anyone have any ideas about how to go about this, I'm new to javascript so am in need of some help.

Many thanks,
 
Look at the FAQ section of this forum for dynamic listboxes or read the posts from the last week there have been several covering dynamic listboxes and lots of posted code.





It's hard to think outside the box when I'm trapped in a cubicle.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top