JavaScript 运行时错误: 对象不支持“live”属性或方法 求大神指教
function InitLeftMenu() {
hoverMenuItem();
$('#wnav li a').live('click', function () {
var tabTitle = $(this).children('.nav').text();
var url = $(this).attr("rel");
var menuid = $(this).attr("ref");
var icon = getIcon(menuid, icon);
addTab(tabTitle, url);
$('#wnav li div').removeClass("selected");
$(this).parent().addClass("selected");
});
}