参考自:[url]https://blog.csdn.net/assholeu/article/details/46044383[/url]
写一个项目时 用的jquery.min.js 版本是2.0 发现在ie8上面js脚本的效果出不来,F12调试时,报错 :对象不支持此属性或方法 ,也不识别 $ 也不识别 Jquery 报未定义异常
去 jQuery官网看了一下原来jQuery2.x不支持IE678
jQuery 2.x
jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guideapply here as well. Since IE 8 is still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site. Please read the 2.0 release notes carefully.
jquery官网:浏览器支持
[url]http://jquery.com/browser-support/[/url]
Current Active Support
Desktop
Chrome: (Current - 1) and Current
Edge: (Current - 1) and Current
Firefox: (Current - 1) and Current
Internet Explorer: 9+
Safari: (Current - 1) and Current
Opera: Current
Mobile
Stock browser on Android 4.0+
Safari on iOS 7+
Any problem with jQuery in the above browsers should be reported as a bug in jQuery.
(Current - 1) and Current denotes that we support the current stable version of the browser and the version that preceded it. For example, if the current version of a browser is 24.x, we support the 24.x and 23.x versions.
If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.
以上浏览器中jQuery的任何问题都应该作为jQuery bug报告。
(Current - 1)和Current表示我们支持浏览器的当前稳定版本和之前的版本。例如,如果浏览器的当前版本是24。x,我们支持24。x和23。x版本。
如果您需要支持较老的浏览器,如Internet Explorer 6-8、Opera 12.1x或Safari 5.1+,请使用jQuery 1.12。
写一个项目时 用的jquery.min.js 版本是2.0 发现在ie8上面js脚本的效果出不来,F12调试时,报错 :对象不支持此属性或方法 ,也不识别 $ 也不识别 Jquery 报未定义异常
去 jQuery官网看了一下原来jQuery2.x不支持IE678
jQuery 2.x
jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guideapply here as well. Since IE 8 is still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site. Please read the 2.0 release notes carefully.
jquery官网:浏览器支持
[url]http://jquery.com/browser-support/[/url]
Current Active Support
Desktop
Chrome: (Current - 1) and Current
Edge: (Current - 1) and Current
Firefox: (Current - 1) and Current
Internet Explorer: 9+
Safari: (Current - 1) and Current
Opera: Current
Mobile
Stock browser on Android 4.0+
Safari on iOS 7+
Any problem with jQuery in the above browsers should be reported as a bug in jQuery.
(Current - 1) and Current denotes that we support the current stable version of the browser and the version that preceded it. For example, if the current version of a browser is 24.x, we support the 24.x and 23.x versions.
If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.
以上浏览器中jQuery的任何问题都应该作为jQuery bug报告。
(Current - 1)和Current表示我们支持浏览器的当前稳定版本和之前的版本。例如,如果浏览器的当前版本是24。x,我们支持24。x和23。x版本。
如果您需要支持较老的浏览器,如Internet Explorer 6-8、Opera 12.1x或Safari 5.1+,请使用jQuery 1.12。