-
Book Overview & Buying
-
Table Of Contents
jQuery 1.4 Reference Guide
Every method in the jQuery library is listed in the following table. Methods that begin with a period (.) can be chained to a jQuery object created with $() or another method, and typically act on a set of DOM elements. Those that begin with $. are not chainable and typically act on a non-DOM object (such as the XMLHttpRequest object or a user-defined object).
|
Method |
Description |
Page |
|---|---|---|
|
.add(selector) .add(elements) .add(html)
|
Add elements to the set of matched elements |
68 |
|
.addClass(className) .addClass(function)
|
Add one or more classes to each element in the set of matched elements |
92 |
|
.after(content) .after(function)
|
Insert content, specified by the parameter, after each element in the set of matched elements |
114 |
|
|
Perform an asynchronous HTTP (AJAX) request |
203 |
|
|
Register a handler to be called when AJAX requests complete |
215 |
|
|
Register a handler to be called when AJAX requests complete with... |
Change the font size
Change margin width
Change background colour