Home  >  Article  >  Web Front-end  >  jquery version adapted to ie8

jquery version adapted to ie8

青灯夜游
青灯夜游Original
2020-12-25 10:38:202725browse

The jQuery1.x version is adapted to ie8. The jQuery1.x version is compatible with IE6, IE7, and IE8; jQuery has no longer handled compatibility with lower IE versions (IE6, IE7, and IE8) since version 2.0, so jQuery2.x and 3.x do not support IE8.

jquery version adapted to ie8

The operating environment of this article: windows7 system, Dell G3 computer, jquery1.10.0.

Recommended tutorial: jquery video tutorial

jquery version

Currently there are three versions of jQuery, which can be found on the jQuery official website (http: //jquery.com/) can be viewed.

Version Description
1.x Compatible with ie678, the most widely used , the official only does bug maintenance, and no new functions will be added. Therefore, for general projects, you can use version 1.x. The final version: 1.12.4
2.x is not compatible with ie678 and is rarely used by people. The official only does bug maintenance and no new functions will be added. If browsers with lower compatibility versions are not considered, you can use 2.x. The final version: 2.2.4
3.x is not compatible with ie678 and only supports the latest browsing. device. Unless there are special requirements, version 3.x is generally not used. Many old jQuery plug-ins do not support this version. This version is currently the official main update and maintenance version.

#1.X major version, there are many subdivided versions, and the functions of each version will have certain differences. Most of the tutorials I see online are version 1.x. jquery official manual: http://api.jquery.com/

jquery will no longer handle compatibility with lower versions of IE (IE6, IE7, IE8) starting from version 2.0. If you need to be compatible with lower versions of IE, it is recommended to use native JS or lower versions of Jquery1.x.

Maintaining ie678 is a headache. Generally, we will load an additional css and js to handle it separately. Fortunately, the number of people using these browsers has gradually decreased, and computer users have been gradually replaced by mobile users. If there are no special requirements, they will generally choose to abandon support for ie678.

For more programming-related knowledge, please visit: Introduction to Programming! !

The above is the detailed content of jquery version adapted to ie8. For more information, please follow other related articles on the PHP Chinese website!

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