PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

jquery不支持的浏览器有哪些

藏色散人
藏色散人 原创
2021-02-02 09:31:24 1696浏览

jquery不支持的浏览器有ie6、ie7、ie8,这些低版本的ie浏览器在jquery新版本中已经不被进行兼容性处理了;如果项目需要兼容ie低版本,需要使用jquery1.x版本。

本文操作环境:windows7系统、jquery1.2.6版本、Dell G3电脑。

jquery不支持的浏览器有哪些?

jQuery新版本已经不再进行IE低版本(IE6、IE7、IE8)的兼容性处理。

如果项目需要兼容IE低版本,需要使用jQuery1.x版本,从2.x开始已经不兼容IE6、7、8了。

以下为jQuery官网的通知:

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 Guide apply 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视频教程

翻译如下:

jQuery 2.x和jQuery的API用法相同,但是不再支持IE6、7、8。

1.9版本中的所有升级向导信息同样适用于2.x

由于IE8仍然用户较多,因此建议使用1.x版本,除非确定没有用IE6、7、8的用户访问网站。

请仔细阅读2.0的发布信息。

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。