| children([selector]) |
Returns a set consisting of all the children of the elements in the set, optionally filtered by a selector. |
| closest(selector [, context]) |
Returns a set containing the single nearest ancestor of each element in the set that matches the specified selector, starting from the element itself. As the first argument, an element or a jQuery object can be passed as well. In this case, it will be tested against the ancestors. If found, a set containing it will be returned; an empty array will be returned otherwise. A DOM element can be optionally specified as context. In this case, to have a match the ancestor must also be a descendant of this element. |
| contents() |
Returns a set of the contents of the elements in the set, which may include text nodes. |
| find(selector) |
Returns a set of the descendants of each element in the set, filtered by a given selector, jQuery object, or element. |
| next([selector]) |
Returns a set consisting of the immediately following sibling of each element in the set of matched elements. If an element is the sibling of more than one element, it’s taken only once. If a selector is provided, it retrieves the next sibling only if it matches that selector. |
| nextAll([selector]) |
Returns a set containing all the following siblings of the elements in the set. If a selector is provided, it retrieves elements only if they match the selector. |
| nextUntil([selector[, filter]]) |
Returns a set of all the following siblings of the elements in the set up to but not including the element matched by the selector. If no matches are made to the selector, or if the selector is omitted, all following siblings are selected. In this case, selector can be a string containing a selector expression, a DOM node, or a jQuery object. The method optionally accepts another selector expression, filter, as its second argument. If it’s provided, the elements will be filtered by testing whether they match it. |
| offsetParent() |
Returns a set containing the closest relatively, absolutely, or fixedly positioned (in the CSS sense of the terms) parent of the elements in the set. |
| parent([selector]) |
Returns a set consisting of the direct parent of all the elements in the set. If an element is the parent of more than one element, it’s taken only once. If a selector is given, parents are collected only if they match it. |
| parents([selector]) |
Returns a set consisting of the unique ancestors (an element is selected only once, even if it matches multiple times) of all the elements in the collection. This includes the direct parents as well as the remaining ancestors all the way up to but not including the document root. If a selector is given, ancestors are collected only if they match it. |
| parentsUntil([selector [, filter]]) |
Returns a set of all ancestors of the elements in the collection up to but not including the element matched by the selector. If the selector isn’t matched or isn’t supplied, all ancestors are selected. In this case, selector can be a string containing a selector expression, a DOM node, or a jQuery object. The method optionally accepts another selector expression, filter, as its second argument. If it’s provided, the elements will be filtered by testing whether they match it. |
| prev([selector]) |
Returns a set consisting of the immediately previous sibling of each element in the set of matched elements. If an element is the sibling of more than one element, it’s taken only once. If a selector is provided, it retrieves the previous sibling only if it matches that selector. |
| prevAll([selector]) |
Returns a set containing all the previous siblings of the elements in the set. Elements can be optionally filtered by a selector. |
| prevUntil([selector [, filter]]) |
Returns a set of all preceding siblings of the elements in the collection up to but not including the element matched by the selector. If the selector is not matched or is not supplied, all the previous siblings are selected. In this case, selector can be a string containing a selector expression, a DOM node, or a jQuery object. The method optionally accepts another selector expression, filter, as its second argument. If it’s provided, the elements will be filtered by testing whether they match it. |
| siblings([selector]) |
Returns a set consisting of all siblings of the elements in the set taken only once. Elements can be optionally filtered by a selector. |