.closest()
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.
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 all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
Attach an event handler function for one or more events to the selected elements.
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
Create a new jQuery object with elements added to the set of matched elements.
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.
A selector representing selector passed to jQuery(), if any, when creating the original set.
Selects elements which contain at least one element that matches the specified selector.
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.
Reduce the set of matched elements to those that match the selector or pass the function’s test.
Select all elements at an index greater than index within the matched set.
Selects all elements that are hidden.
Selects all elements that do not match the given selector.
Selects all next elements matching “next” that are immediately preceded by a sibling “prev”.
Selects all elements that are visible.
Selects all elements that are disabled.
Selects all sibling elements that follow after the “prev” element, have the same parent, and match the filtering “siblings” selector.