bgiframe插件在IE9中导致错误 [英] bgiframe plugin causes error in IE9

查看:112
本文介绍了bgiframe插件在IE9中导致错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

uiquery插件bgiframe(版本2.1.1)在Internet Explorer 9中导致以下java脚本错误:

The uiquery plugin bgiframe (version 2.1.1) causes the following java script error in Internet Explorer 9:

jquery.bgiframe.js, line 94 character 5

我的菜单不再有效,我希望原因是这个错误。

My menu does not work any more, I hope the reason is this error.

有任何想法吗?

增加:

jquery.bgiframe.js中的行是:

The line in jquery.bgiframe.js is:

this.insertBefore( document.createElement(html), this.firstChild );

和错误sais:

SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) 


推荐答案

经过一些研究后,我在bgiframe网站上找到了一个解决方案:

After some more research I found a solution myself on the bgiframe site:

我在

https://github.com/brandonaaron/bgiframe/blob /master/jquery.bgiframe.js

这解决了这个问题。

这篇关于bgiframe插件在IE9中导致错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆