What version 1.x does jquery choose? 2.x? 3.x?

Source: Internet
Author: User

Tags: function move http 4.4 Online blank script function strong

What version of jquery do you choose? What version of jquery do you usually use? jquery IE8 compatible version. What version of jquery is stable?

There are currently three major versions of jquery:
1.x: Compatible with ie678, the most widely used, the official only bug maintenance, function no longer new. So for general projects, the 1.x version is available, and the final version: 1.12.4 (May 20, 2016)
2.x: incompatible with ie678, few people use , official only bug maintenance, function no longer new. If you do not consider a compatible low version of the browser can use 2.x, final version: 2.2.4 (May 20, 2016)
3.x: Incompatible ie678, only the latest browser is supported. Except for special requirements, the 3.x version is generally not used, and many old jquery plugins do not support this version. Currently this version is the official maintenance version of the main update. Latest Version: 3.2.1 (March 20, 2017)

1.X Large version, the subdivision version is very many, each version of the function will have a certain difference. Many of the tutorials you see online are mostly 1.x versions. Official jquery Handbook: http://api.jquery.com/

Maintenance ie678 is the opinion headache thing, generally we will load a CSS and JS alone processing. Fortunately, the use of these browsers are gradually reduced, computer-side users have gradually been replaced by mobile users, if there is no special requirements, will generally choose to abandon the ie678 support.

More friendly prompt user to upgrade browser code (PC side)
Happy browsing: http://browsehappy.osfipin.com/. The code in the upper right corner, click on the pop-up window to view.

jquery for Sina CDN:

<Scriptsrc= "//lib.sinaapp.com/js/jquery/1.4.4/jquery.min.js"></Script><Scriptsrc= "//lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></Script><Scriptsrc= "//lib.sinaapp.com/js/jquery/1.12.4/jquery-1.12.4.min.js"></Script><Scriptsrc= "//lib.sinaapp.com/js/jquery/2.2.4/jquery-2.2.4.min.js"></Script>

Baidu CDN By:

<type= "Text/javascript"  src= "//apps.bdimg.com/libs/jquery/ 1.11.3/jquery.min.js "></script><type  = "Text/javascript"  src= "//apps.bdimg.com/libs/jquery/1.7.2/jquery.min.js"  ></script>

Jquery3 Latest Version Official address

<!--official -<Scripttype= "Text/javascript"src= "//code.jquery.com/jquery-3.2.1.min.js"></Script><!--Seven kn -<Scripttype= "Text/javascript"src= "//cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></Script>

What version 1.x does jquery choose? 2.x? 3.x?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: