jQuery — fast, small, and feature-rich JavaScript library
jQuery is a lightweight JavaScript library that simplifies HTML document traversal, event handling, animation and Ajax, and provides a plugin architecture for extensibility.
Overview
jQuery is a compact JavaScript library created to simplify common tasks in web development, especially manipulation of the Document Object Model (DOM), event handling, animation and asynchronous HTTP (Ajax) requests. It introduced a concise, chainable API and cross-browser abstractions that made client-side scripting more accessible to many developers. The library is free, open source and distributed under the MIT License.
Design and core features
At its core jQuery exposes a function (commonly $ or jQuery) that accepts CSS-like selectors to find elements and returns a wrapped set with many utility methods. Key capabilities include:
- DOM selection and traversal — query and walk the document tree using familiar selector syntax.
- Event handling — attach, delegate and manage event listeners with normalized behavior across browsers.
- Effects and animation — simple methods for common visual transitions and class-based animations.
- Ajax utilities — high-level helpers for XMLHttpRequest and JSON interactions.
- Plugin architecture — an extensible system that allows developers to add reusable components.
History and development
jQuery was originally authored by John Resig and announced in 2006. Over time a core team and broader community contributed to releases, documentation and plugins. Its emphasis on simplicity and compatibility helped it spread rapidly in the late 2000s and early 2010s. Development has continued with maintenance releases and improvements to keep the library reliable for projects that depend on it.
Usage, examples and impact
Developers adopted jQuery to replace repetitive low-level scripts with declarative, readable calls. Common examples include selecting elements to update content, binding click handlers, animating UI elements, or issuing Ajax requests and updating parts of a page without a full reload. Its plugin ecosystem contains widgets, form helpers and utilities used across thousands of sites. Although modern front-end frameworks (component-based libraries and build toolchains) have changed client-side development patterns, jQuery remains useful for quick enhancements, legacy projects and tooling that expects its API.
Notable adoption and ecosystem
Major development tools and vendors have integrated or supported jQuery in various ways. It has been included or referenced by platform vendors and CMS projects and is available via several content delivery networks and package managers. Organizations have bundled jQuery with server-side frameworks and IDEs to streamline building interactive pages. Its ecosystem includes official documentation, tutorials, and many third-party plugins.
Further reading and resources
- Official project site and overview
- HTML and markup interactions using jQuery
- Original release announcement and history notes
- Core development team information
- Community and contributor resources
- License (MIT)
- jQuery syntax and API reference
- Document Object Model background
- Animation and effects documentation
- Ajax utilities and examples
- Corporate integrations and support examples
- Mobile platform usage and partners
- Mobile platform and runtime integration notes
- Use with server-side frameworks and development tools
- Project integration examples such as CMS and wiki software
For practical learning, start with basic selectors and event handlers, examine small plugin code to see extension patterns, and consult the official API for compatibility details. The library's straightforward model remains a useful tool for many web tasks, especially when incremental enhancement or simple scripting is required.
Questions and answers
Q: What is jQuery?
A: jQuery is a JavaScript library created to make it easier and simpler to write JavaScript and HTML.
Q: Who invented jQuery?
A: John Resig invented jQuery.
Q: When was the first release of jQuery?
A: The first release of jQuery was in January 2006 at BarCamp NYC.
Q: Who leads the team of programmers working on jQuery today?
A: Dave Methvin leads the team of programmers working on jQuery today.
Q: How popular is jQuery?
A: More than 55% of the 10,000 most-visited websites use jQuery, making it the most popular JavaScript library being used today.
Q: Is there a cost associated with using jQuery?
A: No, there is no cost associated with using jQuery as it is free and open source software licensed under the MIT License.
Q: What are some things that are easier to do using jquery?
A: Some things that are easier to do using jquery include navigating (moving around) a web page, selecting (choosing) elements on a web page using the Document Object Model, creating animations, handling events like user actions, creating Ajax applications and making their own jquery plug-ins.
Related articles
Author
AlegsaOnline.com jQuery — fast, small, and feature-rich JavaScript library Leandro Alegsa
URL: https://en.alegsaonline.com/art/51341
Sources
- jquery.org : "License - jQuery Project"
- jquery.com : "jQuery: The write less, do more, JavaScript library"
- trends.builtwith.com : "jQuery Usage Statistics"
- w3techs.com : "Usage of JavaScript libraries for websites"
- docs.jquery.com : "License – JQuery JavaScript Library"
- jquery.com : "jQuery, Microsoft, and Nokia"
- weblogs.asp.net : "jQuery and Microsoft"
- wiki.forum.nokia.com : "Guarana UI: A jQuery Based UI Library for Nokia WRT"
- mediawiki.org : "jQuery"