IE8 does not support jQuery. ie8 does not support jquery.
Recently, I encountered a very strange problem when I was working on a WordPress topic. The webpage was displayed normally in Chrome and other browsers, but I couldn't work in IE8. The system prompts "loading is complete, but there is an error in the webpage ".
Try to fix IE, but it is ineffective. Later, after repeated troubleshooting, it was found that IE8 could not run jQuery. I have not found any related articles for a long time on the Internet. Some jQuery plug-ins have been used before and can be used normally in IE. Use IE to open the Demo of a previously written jQuery plug-in. It runs normally and is wondering if it is the reason for CDN. So I changed the jQuery file referenced by CDN to a local jQuery file, still ineffective...
I guess there may be a problem with the CDN support of IE8. I used "ie8 jquery cdn" as the keyword to search and found the answer unexpectedly. It turned out that I referenced jQuery of Version 2.1 in CDN, jQuery of Version 2.0 and later does not support IE 8 or earlier versions, so this problem occurs.
JQuery 2.0 removes support for IE6, IE7, and IE8.
Http://www.weste.net/2012/7-24/84174.html
The solution is simple. insert such code in the webpage header so that IE8 and earlier browsers can reference jQuery 1.9 CDN.
<! -- IE8 can only support jQuery1.9 -->
<!--[if lte IE 8]>
<script src="http://cdn.bootcss.com/jquery/1.9.0/jquery.min.js"></script>
<![endif]-->
This article by jzj1993 original, reproduced please note Source: http://www.hainter.com/ie8-jquery