Home  >  Article  >  Web Front-end  >  jquery.bgiframe.js prompts INVALID_CHARACTER_ERR error_jquery under IE9

jquery.bgiframe.js prompts INVALID_CHARACTER_ERR error_jquery under IE9

WBOY
WBOYOriginal
2016-05-16 17:43:451504browse

jquery.bgiframe.js error under IE9

Copy code The code is as follows:

SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)
jquery.bgiframe.js, line 8 characters 976

Error code
Copy Code The code is as follows:

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

Find some ending plans on the Internet

Plan 1:
Copy code The code is as follows:

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


Just add quotation marks to HTML.
I found the solution now, and there will be new modifications in the future!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn