Re: How to get the selected menu item from a menu button ...
>I was able to solve this by using button.get("selectedMenuItem") ... this value is available whether the user has made a selection or not.
> ... 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?
Thank you for taking a look.