7 January 2014

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>

Notice that the <script> tag should be inside the page's <head> section.

No comments:

Post a Comment