Categories

Traversing

  • .add()

    Miscellaneous Traversing

    Add elements to the set of matched elements.

  • .andSelf()

    Miscellaneous Traversing

    Add the previous set of elements on the stack to the current set.

  • .children()

    Tree Traversal

    Get the children of each element in the set of matched elements, optionally filtered by a selector.

  • .closest()

    Tree Traversal

    Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree.

  • .contents()

    Miscellaneous Traversing

    Get the children of each element in the set of matched elements, including text and comment nodes.

  • .each()

    Collection Manipulation | Traversing

    Iterate over a jQuery object, executing a function for each matched element.

  • .end()

    Miscellaneous Traversing

    End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.

  • .eq()

    Filtering

    Reduce the set of matched elements to the one at the specified index.

  • .filter()

    Filtering

    Reduce the set of matched elements to those that match the selector or pass the function's test.

  • .find()

    Tree Traversal

    Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.

  • .first()

    Filtering

    Reduce the set of matched elements to the first in the set.

  • .formGroup()

    Forms | Tree Traversal

    Find all inputs grouped by name to the first matched input of matched elements.

  • .formInput()

    Forms | Tree Traversal

    Find all inputs of the first matched form of matched elements.

  • .has()

    Filtering

    Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.

  • .is()

    Filtering

    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.

  • .last()

    Filtering

    Reduce the set of matched elements to the final one in the set.

  • .map()

    Filtering

    Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.

  • .next()

    Tree Traversal

    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.

  • .nextAll()

    Tree Traversal

    Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.

  • .nextUntil()

    Tree Traversal

    Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.

  • .not()

    Filtering | Miscellaneous Traversing

    Remove elements from the set of matched elements.

  • .offsetParent()

    Offset | Tree Traversal

    Get the closest ancestor element that is positioned.

  • .parent()

    Tree Traversal

    Get the parent of each element in the current set of matched elements, optionally filtered by a selector.

  • .parents()

    Tree Traversal

    Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.

  • .parentsUntil()

    Tree Traversal

    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.

  • .prev()

    Tree Traversal

    Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.

  • .prevAll()

    Tree Traversal

    Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.

  • .prevUntil()

    Tree Traversal

    Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.

  • .siblings()

    Tree Traversal

    Get the siblings of each element in the set of matched elements, optionally filtered by a selector.

  • .slice()

    Filtering

    Reduce the set of matched elements to a subset specified by a range of indices.