1 Reply Latest reply on Aug 27, 2010 2:59 AM by Marijan Tompa [tomaxxi]

    DropDownList - How to get selected value

    Barqx Level 1

      I have the following dropdownlist:

       

      Select.dd = Select.gMain.add('dropdownlist',undefined,FinalElements);
          Select.dd.onChange = notifyMe();
      

       

      and the function notifyMe()

       

      function notifyMe()
      {
          alert(this.selection);
      }
      

       

      I need to use the value of the selected item of the drop-down. So for now I just have an alert. However, nothing happens, when I change the selection of the drop-down. How can I fix this?