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

What is the difference between jquery 2.x and 1.x

coldplay.xixi
Release: 2020-11-16 14:47:32
Original
2780 people have browsed it

The difference between jquery 2.x and 1.x: 1. [jQuery 2.x] does not support IE6, IE7 and IE8, but [jQuery 1.x] does; 2. Compared with [jQuery 1. x], [jQuery 2.x] The core has changed.

What is the difference between jquery 2.x and 1.x

Recommended: "jquery video tutorial"

The difference between jquery 2.x and 1.x Yes:

jQuery is a concise and fast JavaScript library that can be used to simplify event handling, HTML document traversal, Ajax interaction and animation for rapid website development. jQuery simplifies client-side scripting of HTML, thereby simplifying the development of Web 2.0 applications.

Since its birth in 2006, jQuery has released three major versions: 1.x, 2.x, and 3.x, and these three major versions have been subdivided into many smaller versions.

What is the difference between 2.x and 1.x versions in jquery?

1. Therefore, for general projects, you can use version 1.X. The final version: 1.12.4 (May 20, 2016)

2. Few people use it. The official only does bug maintenance and no new functions will be added. If you do not consider compatibility with lower version browsers, you can use 2.x. Final version: 2.2.4 (May 20, 2016)

Difference:

1 , jQuery 2.x does not support IE6, IE7 and IE8, but jQuery 1.x does;

2. Compared with jQuery 1.x, the jQuery 2.x kernel has changed

Related free learning recommendations:
JavaScript

(video)

The above is the detailed content of What is the difference between jquery 2.x and 1.x. For more information, please follow other related articles on the PHP Chinese website!

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