Subjects covered include:
- Getting started with jQuery
- Each function
- document-ready event
- DOM Manipulation
- DOM Traversing
- CSS Manipulation
- Element Visibility
- Getting and setting width and height of an element
- jQuery .animate() Method
- jQuery Deferred objects and Promises
- Checkbox Select all with automatic check/uncheck on other checkbox change
Microsoft and Nokia bundle jQuery on their platforms. Microsoft includes it with Visual Studio for use within Microsoft's ASP.NET AJAX and ASP.NET MVC frameworks while Nokia has integrated it into the Web Run-Time widget development platform.
jQuery, at its core, is a Document Object Model (DOM) manipulation library. The DOM is a tree-structure representation of all the elements of a Web page. jQuery simplifies the syntax for finding, selecting, and manipulating these DOM elements. For example, jQuery can be used for finding an element in the document with a certain property (e.g. all elements with an h1 tag), changing one or more of its attributes (e.g. color, visibility), or making it respond to an event (e.g. a mouse click).
The principles of developing with jQuery are:
- Brevity and clarity: jQuery promotes brevity and clarity with features like "chainable" functions and shorthand function names.
- Extensibility: New events, elements, and methods can be easily added and then reused as a plugin.
jQuery's architecture allows developers to create plug-in code to extend its function. There are thousands of jQuery plug-ins available on the Web that cover a range of functions, such as Ajax helpers, Web services, datagrids, dynamic lists, XML and XSLT tools, drag and drop, events, cookie handling, and modal windows.