SCRIPT16389:未指定的错误。jquery.min.js,第 2 行字符 91826
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13912461/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SCRIPT16389: Unspecified error. jquery.min.js, line 2 character 91826
提问by bicycle
Another Internet Explorer Javascript error. I can't debug as well since Internet Explorer's debugging tool is even slower than Eclipse which is quite an achievement.... Can anybody see what's causing the SCRIPT16389: Unspecified error. jquery.min.js, line 2 character 91826 error?
另一个 Internet Explorer Javascript 错误。我也无法调试,因为 Internet Explorer 的调试工具甚至比 Eclipse 还要慢,这是一项了不起的成就……任何人都可以看到导致 SCRIPT16389: Unspecified 错误的原因。jquery.min.js,第 2 行字符 91826 错误?
采纳答案by Pekka
You say you are using this code:
你说你正在使用这个代码:
$(document).ready(function()
{ $.ajax({type: "GET", url: "\/slider.php", }).done(
function( html ) {
$("#jui").html(html);
if ($("#vpo").html().length == 0) activateSlider();
});
remove the backslash from the URL. I'm not completelysure why this causes an error, but IE traditionally handles backslashes in URLs differently than other browsers.
从 URL 中删除反斜杠。我不完全确定为什么这会导致错误,但 IE 传统上处理 URL 中的反斜杠与其他浏览器不同。
回答by fujiiface
This is a pretty old question now but I figured I'd throw in another solution. YMMV but I had an old add-on that was causing the same problem. After uninstalling, the problem was resolved.
现在这是一个很老的问题,但我想我会提出另一个解决方案。YMMV 但我有一个旧的附加组件导致了同样的问题。卸载后,问题解决。