Simplified syntax
An approachable syntax for working with the DOM and managing events, so code stays concise and readable.
Read the reason
The JSPRO field guide
jQuery is not a programming language. It is an efficient JavaScript library built to make working with HTML documents, events, animations and AJAX requests simple and consistent since 2006.
Chapter 00 / Orientation
jQuery is not a programming language. It is an efficient JavaScript library designed to make manipulating HTML documents and handling events simple and efficient.
Since 2006 it has become one of the most popular libraries in the world. Its intuitive interface simplifies work with the Document Object Model, events, animations and AJAX requests.
jQuery works by selecting elements with CSS style selectors such as #id or .class, then applying operations to the selected set. Events such as click, hover and submit are handled through a consistent interface, so code behaves the same way in every major browser.
That consistency mattered most in the era of Internet Explorer, Firefox, Chrome, Safari and Opera, when each browser handled common tasks differently. jQuery hid those differences and let developers write one version of their code.
// Select every card and react to a click
$('.card').on('click', function () {
$(this).toggleClass('isOpen');
});
The field guide
The guide is short by design. Each chapter keeps the original explanation of jQuery and gives it room to breathe.
Why it persists
These are the same practical arguments the original site made, rewritten for scanning without losing their detail.
An approachable syntax for working with the DOM and managing events, so code stays concise and readable.
Read the reasonAn active community has built plugins and extensions for sliders, validators, dialogs and other common interface pieces.
Read the reasonMethods can be chained together, which lets complex operations read as a single line of code.
Read the reasonA standard way to handle clicks, hovers and form submissions, with fewer custom handlers to maintain.
Read the reasonFade and slide effects add motion and feedback without a large animation framework.
Read the reasonLoad data asynchronously and update part of a page without forcing a full reload.
Read the reasonWhy it matters
The case for jQuery rests on everyday developer needs, not on novelty. Each mark below comes directly from the original explanation.
An accessible way to manipulate HTML documents and manage events.
One code path works across major browsers instead of separate implementations.
A familiar API removes repetitive plumbing, so teams spend more time on features.
Responsive updates and gentle motion keep interfaces calm and clear.
Clicks, hovers and form events are handled through one consistent interface.
Pages can fetch and show new data without a full reload.
A large pool of plugins, answers and examples supports common problems.
Core functions
Each function below is covered in full in the reference chapter, with a code sample and a link to the official documentation.
Select and change content, structure and style.
Read the notes 02Attach consistent handlers for clicks, hovers and keys.
Read the notes 03Fade, slide and toggle elements with little code.
Read the notes 04Load data from a server without reloading the page.
Read the notes 05Helpers for strings, arrays and cookies.
Read the notes 06Extend the library with custom, reusable behavior.
Read the notes 07Write one path for major browsers.
Read the notes 08Move through related elements in the DOM.
Read the notes 09Apply slide, fade and toggle effects to elements.
Read the notes
Next step
Begin with the orientation, then move through the reasons, the core functions and the resources that support daily work. Every chapter stays close to the original explanation and adds a clearer path through it.