The jquery traversal function contains methods for filtering, finding, and concatenating elements.
. Add (): Adds an element to the collection of matching elements.
. Andself (): Adds the previous set of elements from the stack to the current collection.
. Children (): Gets all the child elements of each element in the matching element collection.
. Closest (): From the beginning of the element itself, to a higher level of matching elements. and returns the first matching ancestor element.
. Contents (): Gets the child elements of each element in the matching element collection, including the text and gaze nodes.
. each (): Falls on the jquery object and runs the function for each matching element.
. End (): Ends a recent filter operation in the current chain and returns a collection of matching elements to the previous state.
. EQ (): Reduces the set of matching elements to the element of the specified index.
. Filter (): Reduces the set of matching elements to a new element that matches the selector or the return value of the matching function.
. Find (): Gets the descendants of each element in the current matching element collection, filtered by selectors.
. First (): Shrinks the Ppys to the number one element in the collection.
. has (): Reduces the Ppys collection to a collection that includes descendants of a particular element.
. is (): Checks the pawn Ppys collection based on the selector, and returns true if at least one ppys exists.
. Last (): Reduces Ppys to the final element in the collection.
. Map (): Passes each element in the current Ppys collection to a function. Produces a new JQuery object that includes the return value.
. Next (): Gets the sibling elements that are immediately adjacent to each element in the Ppys collection.
. Nextall (): Gets all the sibling elements that are immediately adjacent to each element in the Ppys collection, optionally filtered by a selector.
. Nextuntil (): Gets all the sibling elements after each element. Until the element that matches the selector is encountered.
. Not (): Removes an element from the Ppys collection.
. OffsetParent (): Gets the first parent element used for positioning.
. Parent (): Gets the parent element of each element in the Ppys collection, optionally filtered by a selector.
. Parents (): Gets the ancestor element of each element in the Ppys collection, optionally filtered by a selector.
. Parentuntil (): Gets the parent element of each element in the Ppys collection until a matching selector element is encountered.
. Prev (): Gets the first sibling element adjacent to each element in the Ppys collection, optionally with a selector.
. Prevall (): Gets all of the sibling elements before each element in the Ppys collection, optionally filtered (optional).
. Prevuntil (): Gets all the sibling elements before each element until it encounters an element that matches the selector.
. Siblings (): Gets the sibling element that matches all elements of the element collection, optionally filtered by the selector.
. Slice (): Reduces the set of matching elements to a subset of the specified range.
Self-summary. To see and learn later!
jquery traversal function