June 2013
Beginner
444 pages
9h 45m
English
This appendix is intended to be a quick reference for the jQuery API, including its selector expressions and methods. A more detailed discussion of each method and selector is available on the jQuery documentation site, http://api.jquery.com.
The jQuery factory function $() is used to find elements on the page to work with. This function takes a string composed of CSS-like syntax, called a selector expression. Selector expressions are discussed in detail in Chapter 2, Selecting Elements.
|
Selector |
Matches |
|---|---|
|
|
All elements. |
|
|
The element with the given ID. |
|
|
All elements of the given type. |
|
|
All elements with the given class. |
|
|
Elements that are matched ... |