3 Replies Latest reply on Jan 5, 2011 3:38 PM by rehoover51

    clearing dropdown menus

    DrClohite Level 1

      // clear contents of add form





      // reset the DropDownList item selectors -  cat


      -it says category undefined.


      how do I clear/reset an Array/Object?


      here's the code of what I want to clear:



      <s:DropDownList id="cat" change="updateCategory()" prompt="Select Cat" width="20">


      <fx:Object category="A" label="A" />

      <fx:Object category="B" label="B" />

      <fx:Object category="C" label="C" />

      <fx:Object category="D" label="D" />

      <fx:Object category="E" label="E" />