繁体   English   中英

IE 8(仅)因插件的JavaScript / jQuery调用而崩溃

[英]IE 8 (ONLY) crashes with JavaScript / jQuery calls to plugins

我需要一些帮助。

我正在建立一个团队简历页面,当我调用jQuery插件时,它会使IE8崩溃。

我不知道发生了什么,甚至无法运行IE调试器,因为它崩溃如此严重。

有没有愿意看一下并提供帮助的IE8 / jQuery专家?

这是主要团队页面。 单击任何链接都将导致IE8崩溃。

我正在使用:jQuery Tagsphere,AnythingSlider和jQuery Cycle。

预先感谢您对此的任何见解。

我有一个类似的问题,最明显的是用IE8关闭iframe。 在jquery-1.6.2中偶然发现以下代码,该代码旨在解决document.domain的问题。 网络上的一些评论使我相信这是最近的问题。 放回jquery-1.4.4,问题已解决。

JQUERY-1.6.2中的代码段如下:

// #8138, IE may throw an exception when accessing
// a field from window.location if document.domain has been set
try {
ajaxLocation = location.href;
} catch( e ) {
// Use the href attribute of an A element
// since IE will modify it given document.location
ajaxLocation = document.createElement( "a" );
ajaxLocation.href = "";
ajaxLocation = ajaxLocation.href;
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM