jquery.bgiframe.js在IE9下提示INVALID_CHARACTER_ERR错误

时间:2013-01-11    点击:121   

jquery.bgiframe.js在IE9下的错误

复制代码 代码如下:

SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)
jquery.bgiframe.js, 行8 字符976

错误代码
复制代码 代码如下:

1 {if(!$('iframe.bgiframe',this)[0])this.insertBefore(document.createElement(html),this.firstChild);});};})(jQuery);

在网上找到些结局方案

方案一
复制代码 代码如下:

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


HTML加个引号就行了。
目前就找到该解决方案,日后有新的最修改!

window.requestAnimationFrame是什么意思,怎么用
js模仿html5 placeholder适应于不支持的浏览器
ie6下png图片背景不透明的解决办法使用js实现
关于全局变量和局部变量的那些事
jquery延迟加载外部js实现代码
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved