SCRIPT438:对象不支持属性或方法'on'

时间:2014-12-17 20:49:41

标签: javascript error-handling drupal-7

http://tristarprotector.com/temp/I已经看到其他人发布了这个,但答案对我来说没有意义。

我在IE9和IE8中调试时出现此错误

SCRIPT438:对象不支持属性或方法' on' 文件:pluigns.js,行:19,列:207

这就是第19行所说的:

"auto":"pan-y";$menu.css("ms-touch-action",touchAction)},applyHandlers=function($menu,o){var targets="li:has("+o.popUpSelector+")";if($.fn.hoverIntent&&!o.disableHI)$menu.hoverIntent(over,out,targets);else $menu.on("mouseenter.superfish",targets,over).on("mouseleave.superfish",targets,out);var touchevent="MSPointerDown.superfish";if(!ios)touchevent+=" touchend.superfish";if(wp7)touchevent+=" mousedown.superfish";$menu.on("focusin.superfish","li",over).on("focusout.superfish","li",out).on(touchevent,

a link to the page

1 个答案:

答案 0 :(得分:0)

错误的解决方案是我需要安装更新版本的jQuery。

我更新到jquery.min.js?v = 1.10.2