[JQuery] different versions of jQuery What is the difference, and use different versions of Notes

jQuery version there are many, it is divided into 1.x, 2.x, 3.x. As shown below

Here Insert Picture Description
The latest version is jQuery 3.4.1, it is more good than the new version?

No, this comes to distinguish between different versions of the jQuery.

  • 1.x version, compatible with IE6, IE7, IE8 browser.
  • 2.x version is not compatible with IE6, IE7, IE8 browser.
  • 3.x version is not compatible with IE6, IE7, IE8 browser.

It should be noted, 1.x and 2.x versions version no longer updated version, now only updated 3.x version.

In addition, although a more streamlined version 3.x, but because it is not compatible with IE6, IE7, IE8 browser, version 3.x is not so popular in the country, because the domestic primary purpose is to jQuery compatible with IE6, IE7, IE8.

Such as Jingdong use the jQuery 1.6.4, Baidu is using jQuery 1.10.2, all 1.x version of the series.

In addition, when you use jQuery, but also pay attention to the version it supports matters. Such as the current 3.4.1 version, as shown
Here Insert Picture Description
in the last line also point out that if you want to support IE6, IE7, IE8, you can use jQuery 1.12 version of the series.

ok, about the different versions of jQuery What are the differences, and considerations simply using a different version of Here.


Conclusion

If this blog have the opportunity to help you, please click the link below, and more exchanges with like-minded partners, progress together.

Developers Club
Here Insert Picture Description

He published 182 original articles · won praise 237 · views 110 000 +

Guess you like

Origin blog.csdn.net/qq_42351033/article/details/104092281