当前位置: 首页 > 工具软件 > bgiframe > 使用案例 >

jquery.bgiframe.js在IE9下的错误

郎玮
2023-12-01

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加个引号就行了。

目前就找到该解决方案,日后有新的最修改!

 

转载于:https://www.cnblogs.com/wujilong/archive/2012/12/01/2797814.html

 类似资料: