TESODEV Jquery

Jquery

  • Docs

Tree

.find( selector )

Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. Selector can be use same as selectors

    $(selector).find(selector)

.push( element )

Add an element to the current set of matched elements.

    $(selector).push(element)

.push( JqueryObject )

Add elements as Jquery object to the current set of matched elements.

    $(selector).push($(selector2))

.children()

Get the children of each element in the set of matched elements.

    $(selector).children()

.children( selector )

Get the children of each element filtered by given selector in the set of matched elements.

    $(selector).children(selector)

.closest( selector )

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.

    $(selector).closest(selector)

.parent()

Get the parent of each element in the current set of matched elements.

    $(selector).parent()

.parent( selector )

Get the parent of each element filtered by given selector in the current set of matched elements.

    $(selector).parent(selector)

.parents()

Get the ancestors of each element in the current set of matched elements.

    $(selector).parents()

.parents( selector )

Get the ancestors of each element filtered by given selector in the current set of matched elements.

    $(selector).parents(selector)

.siblings()

Get the siblings of each element in the set of matched elements.

    $(selector).siblings()

.siblings( selector )

Get the siblings of each element filtered by given selector in the set of matched elements.

    $(selector).siblings(selector)
Facebook Open Source
Copyright © 2018 TESODEV