JQuery

From Wikipedia, the free encyclopedia

The correct title of this article is jQuery. The initial letter is shown capitalized due to technical restrictions.
jQuery JavaScript Library
Developer: John Resig
Latest release: 1.0.3 / October 28, 2006
Use: JavaScript Framework
License: MIT License, GPL
Website: jquery.com

jQuery is a lightweight JavaScript Framework that emphasizes the interaction between JavaScript and HTML. It was released January 2006 at BarCamp NYC by John Resig.

Contents

[edit] Features

The jQuery JavaScript Library contains the following features:

  • DOM Traversal and Modification (including support for CSS 1-3 and basic XPath)
  • Events
  • Effects and Animations
  • Ajax

[edit] How To Use

jQuery exists as a single JavaScript file, containing all the common DOM, Event, Effects, and Ajax functions. It can be included within any web page by using the following code:

 <script src="http://jquery.com/src/jquery-latest.pack.js"></script>

[edit] How it Works

jQuery exists as a single function/object that you can call with a selector. The principle is that jQuery finds a number of DOM elements within a document and then performs actions against them. For example, the following block of code finds all div elements with class "test", hides them, then slides them down with an animation.

 $("div.test").hide().slideDown("slow");

[edit] Resources

[edit] Notable users of jQuery

[edit] jQuery in the Media

[edit] Books that talk about jQuery