Click to See Complete Forum and Search --> : Can multi-pulldowns ......


Tasmanian Devil
06-03-2003, 09:58 AM
can you have three or four pulldown menus but depending on the one before it, it changes opions. For example: pulldown one has #1 #2 and if #1 is selected then Red and blue, but #2 Green and Yellow and so on?
Thanks

Jona
06-03-2003, 10:01 AM
Yes, you can just see which object you have. Example, onChange="execFunc(this);" name="sel1" for the first one and function execFunc(selObj){ if(selObj.name=="sel1"){var color = red; var color2 = blue;} else{color=green; color2 = yellow;} }

Jona

Tasmanian Devil
06-03-2003, 10:15 AM
Jona~
Thanks again for your help.

Jona
06-03-2003, 10:17 AM
You're welcome.

Jona