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

标签 javascript error-handling drupal-7

http://tristarprotector.com/temp/I已经看到其他人对此发表了评论,但是答案对我来说没有意义。

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

SCRIPT438:对象不支持“打开”属性或方法
文件: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

最佳答案

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

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

关于javascript - SCRIPT438 : Object doesn't support property or method 'on' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27534623/

相关文章:

Drupal Commerce 行项目 : alter the price?

javascript - 如何制作模态图库?无需查询

javascript - 需要 kendoUI 模板类型 ="text/x-kendo-template"?

c# - 在数据库应用程序中处理 SqlExceptions 的推荐方法

excel - 无法绕过 SAP GUI 连接中的运行时错误 619

Drupal 7 向页面添加自定义菜单

php - 如何获取通过 drupal hook_menu 发送的多个参数

javascript - 在带有参数的某些php脚本之后调用jquery函数

javascript - 获取给定 JavaScript 范围内的解析函数

javascript - 为什么在 `catch` 中触发 `fetch` 取决于我如何在第一个 `then` 中返回响应?