How to install jquery

藏色散人
Release: 2020-11-30 13:50:07
Original
3603 people have browsed it

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.

How to install jquery

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

  
Copy after login

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!