jQuery Reel在IE7/8上使用jQuery 1.7+时jQuery Reel中断 [英] jQuery Reel breaks on IE7/8 with jQuery 1.7+
本文介绍了jQuery Reel在IE7/8上使用jQuery 1.7+时jQuery Reel中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用jQuery 1.7(及更高版本)运行时,jQuery卷轴断裂. 出现以下错误:
jQuery reel breaks when running using jQuery 1.7 (and up). Giving the following error :
对象不支持此操作第3175行(未压缩jQuery 1.7)
Object doesn't support this action Line 3175 (jQuery 1.7 non minified)
似乎可以在其他浏览器上正常工作(在Chrome/FF/Safari上进行了测试).
Seems to work fine on other browsers (tested on Chrome/FF/Safari).
有什么办法解决这个问题吗?
Any ideas how to solve this ?
推荐答案
我将jQuery 1.7.1的3175行更改为"try {elem [type]();} catch(e){}".现在一切正常.你可以试试
I changed the line 3175 of jQuery 1.7.1 to "try{ elem[ type ](); }catch(e){}". Now everything is OK. You can try it
这篇关于jQuery Reel在IE7/8上使用jQuery 1.7+时jQuery Reel中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文