Appendix E. jQuery Selectors, Objects, and Methods
Please bear in mind, though, that sometimes new features are added, bugs are fixed, and other features are deprecated or removed. You can keep up to date with the latest developments, information on deprecated or removed features (not detailed here), and newer releases of jQuery on the jQuery website and in the API documentation.
Selects all elements.
Selects all elements with the given tag name.
Selects a single element with the given ID.
Selects all elements with the given class.
('selector1, selector2, ...selectorN')
Selects the combined results of all the specified selectors.
Selects all elements that are descendants of the given ancestor.
('prev + next')
Selects all elements matching
nextthat are immediately preceded by a sibling
('prev ~ siblings')
Selects all sibling elements that follow the
prevelement, have the same parent, and match the filtering
('parent > child')
Selects all direct child elements specified by
childof elements specified by
Selects elements that have the specified attribute ...