jquery.bgiframe.js在IE9下提示INVALID_CHARACTER_ERR错误
作者:Terry2017.02.14来源:Web前端之家浏览:11731评论:0
JQuery.bgiframe.JS在ie9下的错误
SCRI
pt5022:
DOM Exception: INVALID_
charACTER_ERR (5)
jQuery.bgiframe.
js, 行8
字符976
错误代码
1 {if(!$('iframe.bgiframe',
this)[0])this.
insertBefore(
document.createEl
ement(
html),this.firstChild);});};})(
jquery);
在网上找到些结局方案
方案一:
this.insertBefore(document.createElement('
HTML'),this.firstChild);
HTML加个引号就行了。
目前就找到该解决方案,日后有新的最修改!
温馨提示:本文作者系
Terry ,经
Web前端之家编辑修改或补充,转载请注明出处和
本文链接:https://jiangweishan.com/article/svg1487001600747.html
网友评论文明上网理性发言已有0人参与
发表评论: