ASP Question

They have: 39 posts

Joined: Jun 2000

How can I change options in one select box depending on the value of another select box?

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi dhaliwam,

Don't know why your title mentions asp -- since this is primarily a css/javascript/html board. But if you want a javascript solution, see the "Cascading Select" script/tutorials at my site. The first one demonstrates creating what you want for 2 lists; the second is for 3 or more selection lists.

Even if you are determined to do it in asp -- and don't want to post in an asp forum -- the scripts should provide you with implementation ideas.

If you want me to move this to the asp forum, let me know.

Vinny

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.