Skip navigation
Currently Being Moderated

onChange change dropdownlist?

Apr 6, 2012 12:06 PM

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.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points