Home > Web Front-end > JS Tutorial > body text

jquery.bgiframe.js prompts INVALID_CHARACTER_ERR error_jquery under IE9

WBOY
Release: 2016-05-16 17:43:45
Original
1427 people have browsed it

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!
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!