Jquery.min.js负载例外0x800a139e [英] Jquery.min.js load exception 0x800a139e
问题描述
(我修改这个职位,以反映下面的意见和现在在非缄口不言版本发布的错误。)
(I modified this post to reflect comments below and now am posting error in non-mollified version.)
JQuery的:/ *! jQuery的v1.8.3 jquery.com | jquery.org/license * /
浏览器:Internet Explorer的(IE)V10在Windows 8 Pro的运行
JQuery: /*! jQuery v1.8.3 jquery.com | jquery.org/license */ Browser: Internet Explorer (IE) v10 running on Windows 8 Pro
我从SITEMASTER加载jquery.min.js(v1.8.3)。
I am loading jquery.min.js (v1.8.3) from SiteMaster.
<body>
<form id="form1" runat="server">
<script type="text/javascript" src="/jquery/jquery-1.8.3.js"></script>
<script type="text/javascript" src="/jquery/jquery.bpopup-0.7.0.min.js"></script>
在开始使用内部VS2012当地的IE窗口我Default.aspx文件,我得到一个异常。
When starting my Default.aspx file using the local IE window inside VS2012, I get an exception.
Exception was thrown at line 5301, column 6 in localhost:49928/jquery/jquery-1.8.3.js
0x800a139e - JavaScript runtime error: SyntaxError
If there is a handler for this exception, the program may be safely continued.
这抛出异常的实际部分是:
The actual part that throws the exception is:
if ( matches ) {
assert(function( div ) {
// Check to see if it's possible to do matchesSelector
// on a disconnected node (IE 9)
disconnectedMatch = matches.call( div, "div" );
// This should fail with an exception
// Gecko does not error, returns false instead
try {
matches.call( div, "[test!='']:sizzle" );
rbuggyMatches.push( "!=", pseudos );
} catch ( e ) {}
});
// rbuggyMatches always contains :active and :focus, so no need for a length check
rbuggyMatches = /* rbuggyMatches.length && */ new RegExp( rbuggyMatches.join("|") );
如果我preSS继续,加载页面。
If I press continue, the page loads.
堆栈跟踪:
匿名函数[jQuery的-1.8.3.js]行5301
断言[jQuery的-1.8.3.js]行3801
匿名函数[jQuery的-1.8.3.js]行5293
匿名函数[jQuery的-1.8.3.js]行5178
匿名函数[jQuery的-1.8.3.js]行3669
全球code [jQuery的-1.8.3.js] 14号线
Stack Trace: Anonymous function [jquery-1.8.3.js] Line 5301 assert [jquery-1.8.3.js] Line 3801 Anonymous function [jquery-1.8.3.js] Line 5293 Anonymous function [jquery-1.8.3.js] Line 5178 Anonymous function [jquery-1.8.3.js] Line 3669 Global code [jquery-1.8.3.js] Line 14
有什么想法?
推荐答案
我觉得你可以尝试负载依赖性
I think you can try to load-dependent manner
RequireJS是一个JavaScript文件和模块加载。它是用于在浏览器使用优化的,但它可以在其他的JavaScript环境中使用...
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments...
或
/jquery/jquery.bpopup-0.7.0.min.js是错误版本的jQuery-1.8.3.js
or /jquery/jquery.bpopup-0.7.0.min.js is Wrong version for jquery-1.8.3.js
这篇关于Jquery.min.js负载例外0x800a139e的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!