How to install jquery: 1. Download the jQuery library from "jquery.com" and add jQuery to the web page; 2. Load jQuery from CDN, such as loading jQuery from Google.
The operating environment of this tutorial: windows10 system, jquery1.10.2, this article is applicable to all brands of computers.
Recommended: "jquery video tutorial"
jQuery installation
in the web page Adding jQuery
There are many ways to add jQuery to a web page. You can use the following methods:
Download jQuery library from jquery.com
Load jQuery from CDN, such as loading jQuery from Google
Download jQuery
There are two versions of jQuery available for download:
Production version - For use in actual websites, it has been streamlined and compressed.
Development version - for testing and development (uncompressed, readable code)
Both versions above are available from jquery .com download.
The jQuery library is a JavaScript file, you can use the HTML
Tip: Place the downloaded file in the same directory of the web page, and you can use jQuery.
lamp Are you wondering why we don't use type="text/javascript" in the