fires when menu item has been clicked
id | id | item ID |
e | Event | mouse event object |
node | HTMLElement | target HTML element |
menu.attachEvent("onMenuItemClick", function(id, e, node){
//code
});
Unlike the onItemClick, this event fires for all menu item regardless of their nesting level.