The add() method adds elements to an existing group of elements.
The add() method adds elements to an existing group of elements.
Required. Specifies a selector expression, a jQuery object, one or more elements or an HTML snippet to be added to an existing group of elements
Optional. Specifies the point in the document at which the selector expression should begin matching
self reference
Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
A string containing a selector expression to match the current set of elements against.
self reference
Get the children of each element in the set of matched elements, optionally filtered by a selector.
Get the children of each element in the set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
An element to match elements against.
self reference
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
A string containing a selector expression to match elements against
An element to match elements against.
self reference
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
An element or a jQuery object to match elements against.
self reference
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
A string containing a selector expression to match elements against.
self reference
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
A function used as a test for every element in the set. It accepts two arguments, index, which is the element's index in the jQuery collection, and element, which is the DOM element. Within the function, this refers to the current DOM element.
true if at least one of these elements matches the given arguments.
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
A string containing a selector expression to match elements against.
true if at least one of these elements matches the given arguments.
Get the immediately following sibling of each element in the set of matched elements.
Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
A string containing a selector expression to match elements against.
self reference
Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
A string containing a selector expression to indicate where to stop matching following sibling elements.
A string containing a selector expression to match elements against.
self reference
Get the closest ancestor element that is positioned.
Get the closest ancestor element that is positioned.
self reference
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
A string containing a selector expression to match elements against.
self reference
Get the immediately preceding sibling of each element in the set of matched elements.
Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector.
A string containing a selector expression to match elements against.
self reference
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
self reference
* Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
* Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
A string containing a selector expression to match elements against.
self reference
jQuery traversing, which means "move through", are used to "find" (or select) HTML elements based on their relation to other elements. Start with one selection and move through that selection until you reach the elements you desire.
The image below illustrates a family tree. With jQuery traversing, you can easily move up (ancestors), down (descendants) and sideways (siblings) in the family tree, starting from the selected (current) element. This movement is called traversing - or moving through - the DOM.
http://www.w3schools.com/jquery/jquery_ref_traversing.asp
http://api.jquery.com/category/traversing/tree-traversal/