jQuery is a lightweight JavaScript Library providing a wide range of features, easy to learn syntax, and cross platform compatibility. 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
header
As you can see I placed it in a js folder.
Learning
Resources:
jQuery
Official Site
Better said in their words:
jQuery is a fast and concise JavaScript Library that simplifies HTML
document traversing, event handling, animating, and Ajax interactions
for rapid web development. jQuery is designed to change the way that
you write JavaScript.
jQuery Tutorials Tips & Tricks
Superb collection of top jQuery tutorials, tips-tricks and techniques
to improve performance.
jQuery
Selectors
Learn all about jQuery Selectors in this awesome example. jQuery
selector tester
jQuery Selector Tester
Great tool for testing jQuery selection. You can paste in your code to
test against and see the elements get highlighted on the left.
jQuery
Novice To Ninja
jQuery: Novice to Ninja is a compilation of best-practice jQuery
solutions to meet the most challenging JavaScript problems. In this
question-and-answer book on jQuery, you'll find a cookbook of
ready-to-go solutions to help breathe life into your web page.
Learning jQuery
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.