JQuery Install

Adding jQuery to Your Web Pages

To use jQuery, you need to download the jQuery library (explained below), and include it on the pages you wish to use it. The jQuery library is a single JavaScript file, and you reference to it using the HTML <script> tag:

<head>
      <script src="jquery.js"></script>
 </head>

Note: The <script> tag should be inside the page's <head> section.

Downloading jQuery

There are two versions of jQuery available for downloading:

  • Production version : this is for your live website because it has been minified and compressed
  • Development version : this is for testing and development (uncompressed and readable code)

Both versions can be downloaded from jQuery.com