Wednesday, May 27, 2009

jQuery


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

Dual-licensed under the MIT License and the GNU General Public License, jQuery is free, open source software.

Both Microsoft and Nokia have announced plans to bundle jQuery on their platforms, Microsoft adopting it initially within Visual Studio for use within Microsoft's ASP.NET AJAX framework and ASP.NET MVC Framework whilst Nokia will integrate it into their Web Run-Time platform.

Features

DOM element selections using the cross-browser open source selector engine Sizzle, a spin-off out of jQuery project
DOM traversal and modification (including support for CSS 1-3 and basic XPath)
Events
CSS manipulation
Effects and animations
Ajax
Extensibility
Utilities - such as browser version and the each function.
JavaScript Plugins

The Basic

This is a basic tutorial, designed to help you get started using jQuery. If you don't have a test page setup yet, start by creating a new HTML page with the following contents:


Edit the src attribute in the script tag to point to your copy of jquery.js. For example, if jquery.js is in the same directory as your HTML file, you can use:


No comments: