Hi, I'm wondering why I can't get the reference of my kendo menu. The code is wrapped inside a document ready of jquery.
Firebug is saying that my "menu" is undefined but when I inspect the $('#menu'), I'm seeing some kendo events and properties.
Did I miss something?
var menu = $("#menu").data("kendoMenu"); menu.bind("select", function (e) { var menuItemHeader = $('#menu li').first(); var menuItemHeaderValue = $(menuItemHeader).find('.k-link').text(); alert(menuItemHeaderValue); });
Firebug is saying that my "menu" is undefined but when I inspect the $('#menu'), I'm seeing some kendo events and properties.
Did I miss something?