Downloading jQuery

The jQuery 1.9 line has major changes from previous versions. We strongly recommend that you also use the jQuery Migrate plugin if you are upgrading from older 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.9.1
Download the uncompressed, development jQuery 1.9.1
jQuery 1.9.1 release notes

jQuery 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 compatiblity 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.1.1
Download the uncompressed, development jQuery Migrate 1.1.1

jQuery 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 1.x branch (supports IE 6/7/8) and one for the 2.x branch (not for use with old IE).
Download the work-in-progress jQuery 1.x build - http://code.jquery.com/jquery-git1.js
Download the work-in-progress jQuery 2.x build - http://code.jquery.com/jquery-git2.js

Using 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.

Using jQuery's CDN provided by MediaTemple

1
2
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
To see all available files and versions, visit http://code.jquery.com

Using Google's CDN

All jQuery releases are available on the Google CDN, visit Google's CDN page for more information. Note that we do not control this CDN; there may be a delay between a jQuery release and its availability there.

Using Microsoft's CDN

All jQuery releases are available on the Microsoft CDN, visit Microsoft's CDN Page for more information. Note that we do not control this CDN; there may be a delay between a jQuery release and its availability there.

About the Code

The code itself is written rather cleanly in an attempt to self-document. If you've spotted some areas of code that could be improved, please feel free to discuss it on the Developing jQuery Core Forum. All input is gladly appreciated!
All of the code is available in two formats:
  • Compressed (which allows you to have a significantly smaller file size) and
  • Uncompressed (good for debugging and to understand what is behind the magic).
If you're interested in downloading Plugins developed by jQuery contributors, please visit the Plugins site.
jQuery is provided under the MIT or GPL license.

Past Releases

VersionDocsDownloads
1.9.0Release NotesMinified Uncompressed
1.8.3Release NotesMinified Uncompressed
1.8.2Release NotesMinified Uncompressed
1.8.1Release NotesMinified Uncompressed
1.8.0Release NotesMinified Uncompressed
1.7.2Release NotesMinified Uncompressed
1.7.1Release NotesMinified Uncompressed
1.6.4Release NotesMinified Uncompressed
1.6.3Release NotesMinified Uncompressed

jQuery Git

This work-in-progress build, known as jQuery Git, is generated once a minute from the jQuery Git repository. It is provided as a convenience for anyone who wants to help test changes in the next version of jQuery.
When reporting issues with jQuery Git builds of jQuery, please make sure you include the date and time the snapshot was generated (it is listed at the top of the file).
Linking to jQuery Git builds directly from the CDN is not advised, as the file is constantly refreshed and may change from minute to minute as new commits are made to the repository.
WARNING: Do NOT use the jQuery Git build in a production system or live application! It is not tested. It is not stable. It will probably blow up on you unexpectedly. You have been warned! If in doubt, stop and use the current release.
jQuery Git Uncompressed

Build from Git

Note: The following is quite advanced. If you wish to just use a work-in-progress version of jQuery, please try the jQuery Git build instead.
All source code is kept under Git revision control, which you can browse online. There's a download link available for any file or directory, if you only want to download a portion of the jQuery code.
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 a specific version of jQuery from GitHub:
1
2
git clone git://github.com/jquery/jquery.git
git checkout 1.2.6
The repository's README has more information on building and testing your own jQuery, as well as links to core style guidelines and tips for patching bugs.

Comments

Popular Posts