Finding |
add( selector ) |
jQuery |
.add( selector ) |
Add elements to the set of matched elements. |
Finding |
add( elements ) |
jQuery |
.add( elements ) |
Add elements to the set of matched elements. |
Finding |
add( html ) |
jQuery |
.add( html ) |
Add elements to the set of matched elements. |
Finding |
add( selector, context ) |
jQuery |
.add( selector, context ) |
New 1.4 Add elements to the set of matched elements. |
Chaining |
andSelf( ) |
jQuery |
.andSelf() |
Add the previous selection to the current selection |
Finding |
children( [ selector ] ) |
jQuery |
.children( [ selector ] ) |
Get the children of each element in the set of matched elements, optionally filtered by a selector. |
Finding |
closest( selector ) |
jQuery |
.closest( selector ) |
Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. |
Finding |
closest( selector, [ context ] ) |
jQuery |
.closest( selector, [ context ] ) |
New 1.4 Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. |
Finding |
closest( selectors, [ context ] ) |
jQuery |
.closest( selectors, [ context ] ) |
New 1.4 Gets an array of all the elements and selectors matched against the current element up through the DOM tree. |
Finding |
contents( ) |
jQuery |
.contents() |
Get the children of each element in the set of matched elements, including text nodes. |
Chaining |
end() |
jQuery |
.end() |
End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. |
Filtering |
eq( index ) |
jQuery |
.eq( index ) |
Reduce the set of matched elements to the one at the specified index. |
Filtering |
filter( selector ) |
jQuery |
.filter( selector ) |
Reduce the set of matched elements to those that match the selector or pass the function's test. |
Filtering |
filter( function(index) ) |
jQuery |
.filter( function(index) ) |
Reduce the set of matched elements to those that match the selector or pass the function's test. |
Finding |
find( selector ) |
jQuery |
.find( selector ) |
Get the descendants of each element in the current set of matched elements, filtered by a selector. |
Finding |
first() |
jQuery |
.first() |
Reduce the set of matched elements to the first in the set |
Filtering |
has( class ) |
Boolean |
.has( selector ) |
Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. |
Filtering |
has( contained ) |
Boolean |
.has( contained ) |
New 1.4 Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. |
Filtering |
is( selector ) |
Boolean |
.is( selector ) |
Check the current matched set of elements against a selector and return true if at least one of these elements matches the selector |
Filtering |
last() |
jQuery |
.last() |
Reduce the set of matched elements to the final one in the set. |
Filtering |
map( callback(index, domElement) ) |
jQuery |
.map( callback(index, domElement) ) |
Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. |
Finding |
next( [ selector ] ) |
jQuery |
.next( [ selector ] ) |
Get the immediately following sibling of each element in the set of matched elements, optionally filtered by a selector. |
Finding |
.nextAll( [ selector ] ) |
jQuery |
.nextAll( [ selector ] ) |
Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. |
Finding |
.nextUntil( [ selector ] ) |
jQuery |
.nextUntil( [ selector ] ) |
Get all following siblings of each element up to but not including the element matched by the selector. |
Filtering |
not( selector ) |
jQuery |
.not( selector ) |
Remove elements from the set of matched elements. |
Filtering |
not( elements ) |
jQuery |
.not( elements ) |
Remove elements from the set of matched elements. |
Filtering |
not( function(index) ) |
jQuery |
.not( function(index) ) |
Remove elements from the set of matched elements. |
Finding |
offsetParent() |
jQuery |
.offsetParent() |
Get the closest ancestor element that is positioned. |
Finding |
parent( [ selector ] ) |
jQuery |
.parent( [ selector ] ) |
Get the parent of each element in the current set of matched elements, optionally filtered by a selector. |
Finding |
parents( [ selector ] ) |
jQuery |
.parents( [ selector ] ) |
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. |
Finding |
parentsUntil( [ selector ] ) |
jQuery |
.parentsUntil( [ selector ] ) |
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector. |
Finding |
prev( [ selector ] ) |
jQuery |
.prev( [ selector ] ) |
Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. |
Finding |
prevAll( [ selector ] ) |
jQuery |
.prevAll( [ selector ] ) |
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. |
Finding |
prevUntil( [ selector ] ) |
jQuery |
.prevUntil( [ selector ] ) |
Get all preceding siblings of each element up to but not including the element matched by the selector. |
Finding |
siblings( [ selector ] ) |
jQuery |
.siblings( [ selector ] ) |
Get the siblings of each element in the set of matched elements, optionally filtered by a selector. |
Filtering |
slice( start ) |
jQuery |
.slice( start ) |
Reduce the set of matched elements to a subset specified by a range of indices. |
Filtering |
slice( [ end ] ) |
jQuery |
.slice( [ end ] ) |
Reduce the set of matched elements to a subset specified by a range of indices. |