Title: adding menu items Post by: devnull on January 25, 2015, 06:58:56 PM The onclick event for a menus added as per this does not appear to fire.
Code: $('#mm').menu('appendItem', { If I add using this method, then the onclick event fires when the menu is added: Code: $('#mm').menu('appendItem', { Title: Re: adding menu items Post by: stworthy on January 26, 2015, 12:06:09 AM The 'onclick' property value should be a string or a function.
Code: onclick: function(){alert('Open Excel') Code: onclick: "alert('Open Excel')" |