Loading ...
Sorry, an error occurred while loading the content.

47196How to get the selected menu item from a menu button ...

Expand Messages
  • aichcon
    Mar 31, 2009
    • 0 Attachment
      ... before the user selects something?

      I am using the following to set the default of a menu on my page:

      button.set("selectedMenuItem", this.getItem(0));

      But when I try to access the activeItem.value for this button I am receiving a null value. Once I click and select an option, this value is populated. Is there any way I can get to that value without having to make a selection?

    • Show all 2 messages in this topic