zl程序教程

您现在的位置是:首页 >  前端

当前栏目

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

jQueryJS错误invalid 提示 character ERR IE9
2023-06-13 09:14:44 时间

jquery.bgiframe.js在IE9下的错误

复制代码代码如下:

SCRIPT5022:DOMException: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加个引号就行了。
目前就找到该解决方案,日后有新的最修改!