2 dropdown menus

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
daan
Forum Commoner
Posts: 25
Joined: Wed Nov 16, 2005 10:32 am

2 dropdown menus

Post by daan »

Hello,

I have two dropdownmenus, but i want that, if selected an option in the first dropdownmenu, the second dropdownmenu adapts itself and lists other options according to the selected option in the first dropdownmenu.

can anyone help?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Ooh... This requires JavaScript. While I've never done this before, I know of a page that does do this: https://bugzilla.mozilla.org/query.cgi Click on a product and the right menus change. You should be able to get an idea of how they do it from the source.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Have a look at viewtopic.php?t=29084

Regards
Mark
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Moved to Client Side
Post Reply