BillyRayPreachersSon
Programmer
This is something that is asked a lot, and there isn't much in the FAQ area covering it exactly... so I've written an FAQ showing how to do this:
How do I create multi-level select / list / drop down boxes?
faq216-6294
Note: There are many different ways this could be achieved other than switch statements. I could have used nested arrays, objects... so many other methods. So if the method shown isn't right for you, there are others you can consider.
Hope this helps,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
How do I create multi-level select / list / drop down boxes?
faq216-6294
Note: There are many different ways this could be achieved other than switch statements. I could have used nested arrays, objects... so many other methods. So if the method shown isn't right for you, there are others you can consider.
Hope this helps,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]