https://code.jquery.com/jquery-3.7.1.slim.min.js
<!-- 1. Load the local jquery.min.js file --> <script src="js/jquery.min.js"></script>
Production environments require stable, secure, and optimized code [1, 2]. Download the exact version needed for your project architecture. jQuery 3.x (Recommended) jQuery 3.7.1 [3] File Size: ~30 KB gzipped [2] Primary Use: Modern web applications [2]
sha384-vtSZXyXjbZS8oWBH6RrcJxLnoS2G9PGSkgfVfKZ8W8E5vNpqOs0Hk9DZqY1/8qL1 jquery.min.js latest version download
<!-- 2. Your custom script that depends on jQuery --> <script src="js/custom.js"></script>
: If you are upgrading from an older version, the jQuery team recommends using the jQuery Migrate plugin
Download https://code.jquery.com/jquery-3.7.1.js (development version). Never use this in production – it's 3x larger. https://code
Open the URL directly in the browser. If you see HTML tags like <html> , you are not on the raw JS file. Use the exact URL https://code.jquery.com/jquery-3.7.1.min.js .
The slim build excludes the ajax , effects , and deprecated modules. It is roughly 30KB smaller. Use the full version if you need $.ajax() or animations like fadeIn() .
Slim Minified (jquery-4.0.0.slim.min.js) (Excludes AJAX and effects modules for a smaller footprint) jQuery 3
To include the latest version directly in your project without hosting the file yourself, add this script tag to your HTML: "https://code.jquery.com/jquery-4.0.0.min.js" Use code with caution. Copied to clipboard
You have multiple versions of jQuery loaded (e.g., a plugin loads an old version after your new one).