0 Replies Latest reply on Feb 15, 2007 8:54 AM by jencarnac

    Combox + set initially selected value

    jencarnac
      I have a combobox dropdown that is populated with US State abbreviations (AL, CA, NY, etc.).

      I would like the dropdown to set itself according to an initial value or label (not the index):

      _root.stateDropDown.selectedIndex= "NY"; //does not work
      _root.stateDropDown.selectedItem= "NY"; //neither does this

      Is this possible? Please help. Thanks.