This is an old version of the Traversing API:
View the Current API
| Name | Type |
|---|
| Name | Type |
|---|---|
| contains( expr ) | Returns: jQuery |
| Filter the set of elements to those that contain the specified text. | |
| filter( expr ) | Returns: jQuery |
| Removes all elements from the set of matched elements that do not match the specified expression(s). | |
| filter( fn ) | Returns: jQuery |
| Removes all elements from the set of matched elements that does not match the specified function. | |
| is( expr ) | Returns: Boolean |
| Checks the current selection against an expression and returns true, if at least one element of the selection fits the given expression. | |
| not( expr ) | Returns: jQuery |
| Removes elements matching the specified expression from the set of matched elements. | |
| Name | Type |
|---|---|
| add( expr ) | Returns: jQuery |
| Adds more elements, matched by the given expression, to the set of matched elements. | |
| children( expr ) | Returns: jQuery |
| Get a set of elements containing all of the unique immediate children of each of the matched set of elements. | |
| find( expr ) | Returns: jQuery |
| Searches for all elements that match the specified expression. This method is a good way to find additional descendant elements with which to process. | |
| next( expr ) | Returns: jQuery |
| Get a set of elements containing the unique next siblings of each of the given set of elements. | |
| parent( expr ) | Returns: jQuery |
| Get a set of elements containing the unique parents of the matched set of elements. | |
| parents( expr ) | Returns: jQuery |
| Get a set of elements containing the unique ancestors of the matched set of elements (except for the root element).
The matched elements can be filtered with an optional expression. | |
| prev( expr ) | Returns: jQuery |
| Get a set of elements containing the unique previous siblings of each of the matched set of elements. | |
| siblings( expr ) | Returns: jQuery |
| Get a set of elements containing all of the unique siblings of each of the matched set of elements.
Can be filtered with an optional expressions. | |
| Name | Type |
|---|---|
| end( ) | Returns: jQuery |
| Revert the most recent 'destructive' operation, changing the set of matched elements to its previous state (right before the destructive operation). | |
© 2008 John Resig and the jQuery Team.
Hosting provided by Media Temple
