onChange change dropdownlist?
I am using a dropdown list to make a selection and then based on that selection I would like the second dropdown list to change based on the election.
myStandardDown.onChange = function () {if (myStandardDown.selection==1){myTypeDown = ("dropdownlist", undefined, lithoNames);}}
I tried something like this and,
this:
if (myStandardDown.selection==0){myTypeDown =myInputGroup.add ("dropdownlist", undefined, execNames);}
or
myStandardDown.onChange = function () {if (myStandardDown.selection==1){myTypeDown.graphics = ("dropdownlist", undefined, lithoNames);}}
I don't know. The end result I am going to have many things change based on this so this is the crux of it.
I can get a text edit box to change but that is it.
I have three different drop downs that it needs to change into.
If you can lead me in the right direction it would be appreciated.
