What does jQuery code look like? The quick and dirty:
Congratulations! You just ran a snippet of jQuery code. Wasn't that easy? There's lots of example code throughout the documentation on this site. Be sure to give all the code a test run, to see what happens.
The above code snippet looks for all paragraphs that have a class of 'surprise', adds the class 'ohmy' to them, then slowly reveals them. Click the 'Run' button to see it in action!
Support the jQuery team
jQuery is for everyone.
The jQuery library is suited for many different applications.
How can jQuery help you?
Lightweight footprint· About 14KB in size (Compressed)
CSS3 Compliant· Supports CSS 1-3 and basic XPath
Cross-browser· IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+
This book introduces you to the jQuery programming model and guides you through the major features and techniques you'll need to be productive immediately. The book anchors each new concept in the tasks you'll tackle in day-to-day web development and offers unique lab pages where you immediately put your jQuery knowledge to work. Includes resources on jQuery 1.2.