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

Source: Internet
Author: User



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:

<script src = "// lib.sinaapp.com/js/jquery/1.4.4/jquery.min.js"> </ script>
<script src = "// lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"> </ script>
<script src = "// lib.sinaapp.com/js/jquery/1.12.4/jquery-1.12.4.min.js"> </ script>
<script src = "// lib.sinaapp.com/js/jquery/2.2.4/jquery-2.2.4.min.js"> </ script>
Baidu CDN uses:

<script type = "text / javascript" src = "// apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"> </ script>
<script type = "text / javascript" src = "// apps.bdimg.com/libs/jquery/1.7.2/jquery.min.js"> </ script>
jquery3 latest version official address

<!-Official->
<script type = "text / javascript" src = "// code.jquery.com/jquery-3.2.1.min.js"> </ script>
<!-Qiniu->
<script type = "text / javascript" src = "// cdn.staticfile.org/jquery/3.2.1/jquery.min.js"> </ script>
 

What version of jQuery choose 1.x? 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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.