jQuery: The Write Less, Do More JavaScript Library

jQuery is a new type of JavaScript library.

jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.

"You start with 10 lines of jQuery that would have been 20 lines of tedious DOM JavaScript. By the time you are done it's down to two or three lines and it couldn't get any shorter unless it read your mind." - Dave Methvin

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!

Download jQuery

Support the jQuery team

Learn about the jQuery JavaScript library

  • Designers,
  • Developers,
  • Hobbyists,
  • Businesses…

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+


jQuery in Action

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.
Learning jQuery Book

In this book, creators of the popular jQuery learning resource, Learning jQuery, share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine.