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

SCRIPT438: Object doesn't support property or method 'on'

本文关键字:方法 on 属性 对象 不支持 SCRIPT438      更新时间:2023-09-26

http://tristarprotector.com/temp/我看到其他人发布了关于这个的帖子,但答案对我来说没有意义。

我在IE9和IE8中调试时收到此错误

SCRIPT438:对象不支持属性或方法"on"文件: 普鲁文.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,

和指向该页面的链接

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

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