DaveyRichards
Programmer
Hey guys.
I am having a problem with my drop down menus. What I am trying to do is have two separate drop down menus and when a specific option in the first one is selected, the second one will become visible.
At the moment I have the following on the "onchange" event for my first dropdown:
onchange="if(this.selectedIndex='someoption'){this.form['dropdown2'].style.visibility='visible'};"
With this code in place the "dropdown2" is appearing no matter which option I select and "dropdown1" is getting stuck at its first option.
Thanks
I am having a problem with my drop down menus. What I am trying to do is have two separate drop down menus and when a specific option in the first one is selected, the second one will become visible.
At the moment I have the following on the "onchange" event for my first dropdown:
onchange="if(this.selectedIndex='someoption'){this.form['dropdown2'].style.visibility='visible'};"
With this code in place the "dropdown2" is appearing no matter which option I select and "dropdown1" is getting stuck at its first option.
Thanks