Before started jQuery, we need to download jQuery library file. Download latest version of jquery.js file from jquery.com Website. You can also use jQuery CDN link. CDNs can offer a performance benefit by hosting jQuery on servers spread across the global.
jQuery Download
Currently jQuery latest library version is 3.3.1 - Minified (87 KB), uncompressed (272 KB) Download. Next downloaded jQuery library move into your website directory.
jQuery all previous version file (Right click and "Save link as")
jQuery All 3.x Versions
- Download jQuery 3.3.1 - minified, uncompressed (Latest Version)
- Download jQuery 3.3.0 - minified, uncompressed
- Download jQuery 3.2.1 - minified, uncompressed
- Download jQuery 3.2.0 - minified, uncompressed
- Download jQuery 3.1.1 - minified, uncompressed
- Download jQuery 3.1.0 - minified, uncompressed
- Download jQuery 3.0.0 - minified, uncompressed
jQuery All 2.x Versions
- Download jQuery 2.2.4 - minified, uncompressed
- Download jQuery 2.2.3 - minified, uncompressed
- Download jQuery 2.2.2 - minified, uncompressed
- Download jQuery 2.2.1 - minified, uncompressed
- Download jQuery 2.2.0 - minified, uncompressed
- Download jQuery 2.1.4 - minified, uncompressed
- Download jQuery 2.1.3 - minified, uncompressed
- Download jQuery 2.1.2 - minified, uncompressed
- Download jQuery 2.1.1 - minified, uncompressed
- Download jQuery 2.1.0 - minified, uncompressed
- Download jQuery 2.0.3 - minified, uncompressed
- Download jQuery 2.0.2 - minified, uncompressed
- Download jQuery 2.0.1 - minified, uncompressed
- Download jQuery 2.0.0 - minified, uncompressed
jQuery All 1.x Versions
- Download jQuery 1.12.4 - minified, uncompressed
- Download jQuery 1.12.0 - minified, uncompressed
- Download jQuery 1.11.0 - minified, uncompressed
- Download jQuery 1.10.0 - minified, uncompressed
- Download jQuery 1.9.0 - minified, uncompressed
- Download jQuery 1.8.0 - minified, uncompressed
- Download jQuery 1.7.0 - minified, uncompressed
- Download jQuery 1.6 - minified, uncompressed
- Download jQuery 1.5 - minified, uncompressed
- Download jQuery 1.4 - minified, uncompressed
- Download jQuery 1.3 - minified, uncompressed
- Download jQuery 1.2 - minified, uncompressed
- Download jQuery 1.1 - uncompressed
- Download jQuery 1.0 - uncompressed
jQuery CDN Provider
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 web page has already downloaded a copy of jQuery from the same CDN, it won't have to be re-downloaded.
Google CDN
jQuery 3.x (Minified)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
jQuery 3.x (Uncompressed)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
jQuery 2.x (Minified)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
jQuery 2.x (Uncompressed)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
jQuery 1.x (Minified)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
jQuery 1.x (Uncompressed)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.js"></script>
Version 3.3.1, 3.2.1, 3.2.0, 3.1.1, 3.1.0, 3.0.0, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.4, 2.1.3, 2.1.1, 2.1.0, 2.0.3, 2.0.2, 2.0.1, 2.0.0, 1.12.4, 1.12.3, 1.12.2, 1.12.1, 1.12.0, 1.11.3, 1.11.2, 1.11.1, 1.11.0, 1.10.2, 1.10.1, 1.10.0, 1.9.1, 1.9.0, 1.8.3, 1.8.2, 1.8.1, 1.8.0, 1.7.2, 1.7.1, 1.7.0, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6.0, 1.5.2, 1.5.1, 1.5.0, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.2, 1.3.1, 1.3.0, 1.2.6, 1.2.3
CDNJS CDN
You can download jQuery CDN link from jQuery CDNJS website.
jQuery 3.x (Uncompressed)
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
jQuery 3.x (Minified)
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
How to use jQuery Library?
The jQuery library first of all include in your web page after use in jQuery function. let's see following structure...
<!DOCTYPE html>
<html>
<head>
<title>jQuery Structure</title>
<script src="jquery-latest.min.js"></script>
<script>
/* add needed javascript code */
</script>
</head>
<body>
...
...
</body>
</html>