关闭

jQuery 下载

823人阅读 评论(0) 收藏 举报
分类:

http://jquery.com/download/

Downloading jQuery

Compressed and uncompressed copies of jQuery files are available. The uncompressed file is best used during development or debugging; the compressed file saves bandwidth and improves performance in production. You can also download a sourcemap file for use when debugging with a compressed file. The map file is not required for users to run jQuery, it just improves the developer's debugger experience. As of jQuery 1.11.0/2.1.0 the //# sourceMappingURL comment is not included in the compressed file.

To locally download these files, right-click the link and select "Save as..." from the menu.

linkjQuery 1.x

The jQuery 1.x line had major changes as of jQuery 1.9.0. We strongly recommend that you also use the jQuery Migrate plugin if you are upgrading from pre-1.9 versions of jQuery or need to use plugins that haven't yet been updated. Read the jQuery 1.9 Upgrade Guide and the jQuery 1.9 release blog post for more information.

Download the compressed, production jQuery 1.11.3

Download the uncompressed, development jQuery 1.11.3

Download the map file for jQuery 1.11.3

jQuery 1.11.3 release notes

linkjQuery 2.x

jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guide apply here as well. Since IE 8 is still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site. Please read the 2.0 release notes carefully.

Download the compressed, production jQuery 2.1.4

Download the uncompressed, development jQuery 2.1.4

Download the map file for jQuery 2.1.4

jQuery 2.1.4 release notes

linkDownloading jQuery using Bower

jQuery is registered as a package with Bower. You can install the latest version of jQuery with the command:

1
bower install jquery

This will install jQuery to Bower's install directory, the default being bower_components. Within bower_components/jquery/dist/ you will find an uncompressed release, a compressed release, and a map file.

The jQuery Bower package contains additional files besides the default distribution. In most cases you can ignore these files, however if you wish to download the default release on its own you can use Bower to install jQuery from one of the above urls instead of the registered package. For example, if you wish to install just the compressed jQuery 2.1.0, you can install just that file with the following command:

1
bower install http://code.jquery.com/jquery-2.1.4.min.js

linkjQuery Migrate Plugin

We have created the jQuery Migrate plugin to simplify the transition from older versions of jQuery. The plugin restores deprecated features and behaviors so that older code will still run properly on jQuery 1.9 and later. Use the uncompressed development version to diagnose compatibility issues, it will generate warnings on the console that you can use to identify and fix problems. Use the compressed production version to simply fix compatibility issues without generating console warnings.

Download the compressed, production jQuery Migrate 1.2.1

Download the uncompressed, development jQuery Migrate 1.2.1

linkCross-Browser Testing with jQuery

Be sure to test web pages that use jQuery in all the browsers you want to support. The modern.IE site makes available virtual machines for testing many different versions of Internet Explorer. Older versions of other browsers can be found at oldversion.com.

linkjQuery Pre-Release Builds

The jQuery team is constantly working to improve the code. Each commit to the Github repo generates a work-in-progress version of the code that we update on the jQuery CDN. These versions are sometimes unstable and not suitable for production sites. We recommend they be used to determine whether a bug has already been fixed when reporting bugs against released versions, or to see if new bugs have been introduced. There are two versions, one for the compat branch (supports IE 8) and one for the master branch (not for use with old IE).

Download the work-in-progress jQuery Compat build

Download the work-in-progress jQuery build

linkUsing jQuery with a CDN

CDNs can offer a performance benefit by hosting jQuery on servers spread across the globe. This also offers an advantage that if the visitor to your webpage has already downloaded a copy of jQuery from the same CDN, it won't have to be re-downloaded.

linkjQuery's CDN provided by MaxCDN

To use the jQuery CDN, just reference the file directly from http://code.jquery.com in the script tag:

1
2
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

Starting with jQuery 1.9, sourcemap files are available on the jQuery CDN as well. If compressed files are included directly from the CDN as shown above, sourcemap-aware browsers such as Google Chrome will use them when you enable sourcemap support.

To see all available files and versions, visit http://code.jquery.com

linkOther CDNs

The following CDNs also host compressed and uncompressed versions of jQuery releases. Starting with jQuery 1.9 they may also hostsourcemap files; check the site's documentation.

Note that there may be delays between a jQuery release and its availability there. Please be patient, they receive the files at the same time the blog post is made public. Beta and release candidates are not hosted by these CDNs.

linkAbout the Code

jQuery is provided under the MIT license.

The code is hosted and developed in the jQuery GitHub repository. If you've spotted some areas of code that could be improved, please feel free to discuss it on the Developing jQuery Core Forum. If you'd like to participate in developing jQuery, peruse our contributor site for more information.

To find and download plugins developed by jQuery contributors, please visit the Plugins site. Plugin authors are responsible for maintenance of their plugins. Feedback on plugins should be directed to the plugin author, not the jQuery team.

linkBuild from Git

Note: To just use the latest work-in-progress version of jQuery, please try the jQuery Pre-Release Build described above.

All source code is kept under Git revision control, which you can browse online. The repository's README has more information on building and testing your own jQuery, as well as instructions on creating a custom build that excludes some APIs to reduce file size.

If you have access to Git, you can connect to the repository here:

1
git clone git://github.com/jquery/jquery.git

You can also check out and build a specific version of jQuery from GitHub:

1
2
git clone git://github.com/jquery/jquery.git
git checkout 1.2.6

The README file for a specific version will have instructions for building that version, as the process has changed over time.


linkPast Releases

All past releases can be found on the jQuery CDN.


0
0
查看评论

Jquery入门

Jquery入门(一)
  • iaiti
  • iaiti
  • 2014-11-03 17:18
  • 6203

Jquery下载

  • 2017-09-13 11:13
  • 100KB
  • 下载

jquery下载,实时更新jquery1.2到最新3.2.1所有版本下载

(注!jquery-2.0以上版本不再支持IE 6/7/8) 百度引用地址 (推荐目前最稳定的,不会出现延时打不开情况)  www.jq22.com/jquery-info122 jquery-3.2.1(最新) 官网jquery压缩版引用地址: ...
  • index_ling
  • index_ling
  • 2017-06-10 11:22
  • 2365

jquery各个版本下载

所有jquery的版本均可下载 下载网站: http://hovertree.com/h/bjaf/ati6k7yk.htm
  • ITzhongzi
  • ITzhongzi
  • 2017-05-22 11:24
  • 725

jQuery官网下载步骤

①.百度jQuery ,进入官网 ②.进入官网后,点击下载 ③.之后进入下载页面,会看到有各种版本,解压版和未解压版,还有jQuery的注释文档等 (jQuery2.0及后续版本将不再支持IE6/7/8浏览器,所以要根据自己的需求决定自己要下载1.x还是2.x pro...
  • u011870547
  • u011870547
  • 2015-11-25 10:24
  • 1144

jQuery简单体验及jQuery中文手册下载

点击这里使用RSS订阅本Blog: <!-- main_sub="c1s67";more_subs="";--> Jquery是继prototype之后又一个优秀的Javascript框架。对prototype我使用不多,简单了解过。但使用上...
  • softwave
  • softwave
  • 2008-01-29 03:37
  • 5669

jquery ajax下载 文件 思路

1.   因为  ajax   反回的数据是xml、text、json、html  等类型  而没有  io (流)   所以不能直接下载 思路 是:    跳转...
  • yt1037921169
  • yt1037921169
  • 2016-11-08 18:22
  • 7600

jquery使用post方法下载

$.download = function (url, data) { if (url && data) { var form = $(''); form.attr('action&#...
  • zghnpdswyp
  • zghnpdswyp
  • 2017-01-11 15:32
  • 857

IE下jquery使用submit方法时,提示下载问题

使用ajaxsubmit提交含有文件的表单时,在ie浏览器中提示下载信息。在Firefox和chrome中都能正常运行,截图如下:         网上查看很多解决方法,讲得都不太详细,后来解决了,避免以后出现同样问题,自己就写...
  • sapodilla
  • sapodilla
  • 2014-12-31 12:43
  • 1208

jQueryui的各版本下载地址,以及学习jQuery ui的个人经验(供学习)

给各位同学想下载jQueryui的地址: http://jqueryui.com/download/all/
  • xhw979850818
  • xhw979850818
  • 2014-07-22 09:11
  • 2577
    文章分类
    个人资料
    • 访问:1109822次
    • 积分:14128
    • 等级:
    • 排名:第1042名
    • 原创:222篇
    • 转载:402篇
    • 译文:1篇
    • 评论:163条
    最新评论