The jQuery library provides a general purpose extraction layer for common web scripting, and is therefore useful in almost every scripting situation.
Why use a content distribution network (CDN) instead?
- Faster - Google has a very reliable/redundant distribution network spread out all over the world
- Improved Bandwidth
- Improved parallel downloads
- Caching Benefits - If user hits another site that used the same CDN then hits yours they already have it cached.
For example I use an interation of - https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js
jQuery comes in the form of a simple .js file that you just
place wherever you want on your web server and then reference
You call up the .js file by placing the following within your
As you can see I placed it in a js folder.
Better said in their words:
document traversing, event handling, animating, and Ajax interactions
for rapid web development. jQuery is designed to change the way that
Novice To Ninja
jQuery: Novice to Ninja is a compilation of best-practice jQuery
question-and-answer book on jQuery, you'll find a cookbook of
ready-to-go solutions to help breathe life into your web page.
This book begins with a tutorial to jQuery, followed by an examination
of common, real-world client-side problems, and solutions to each of
them making it an invaluable resource for answers to all your jQuery
questions. Example Code - Also see the website for the book.