In general I guess I am asking what are people doing in the select: method.
I would like some feedback on the following
and
Thanks,
Richard
I would like some feedback on the following
<ul id='myMenu'>
<li data-handler='miItem1;'> item 1 </li>
<li data-handler='alert("!")> item 2 </li>
</ul> and
$('#myMenu').kendoMenu({
select: function (e) {
var handler;
if (handler = $(e.item).data('handler')) {
Function (handler)(); /* construct and execute handler */
}
}
});
function miItem1() {
alert('menu Item 1');
} Thanks,
Richard