【发布时间】:2013-07-28 05:20:48
【问题描述】:
我在使用 jquery colorbox 时遇到异常
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
以下是例外-
Uncaught TypeError: Cannot read property 'msie' of undefined jquery.colorbox.js:66
(anonymous function) jquery.colorbox.js:66
(anonymous function) jquery.colorbox.js:814
Uncaught TypeError: Object [object Object] has no method 'colorbox' HRS_HRAM.JN_HRS_APP_SCHJOB.GBL&country=FRA?PortalActualURL=https%3a%2f%2fhr…fpsc%2fhrmssox%2f&PortalHostNode=HRMS&NoCrumbs=yes&PortalKeyStruct=yes:497
(anonymous function) HRS_HRAM.JN_HRS_APP_SCHJOB.GBL&country=FRA?PortalActualURL=https%3a%2f%2fhr…fpsc%2fhrmssox%2f&PortalHostNode=HRMS&NoCrumbs=yes&PortalKeyStruct=yes:497
c jquery.js:7341
p.fireWith jquery.js:7403
b.extend.ready jquery.js:6875
H
有谁知道问题出在哪里?以及如何解决?
【问题讨论】:
-
你也包含colorbox js吗?
-
谷歌错误信息;似乎您的插件正在使用在较新的 jQueries 中已弃用的属性。 Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools
标签: javascript jquery html