Category «.Net Core»

.parent() in JQuery

  Description: Get the parent of each element in the current set of matched elements, optionally filtered by a selector. version added: 1.0.parent( [ selector ] ) selectorA string containing a selector expression to match elements against. Given a jQuery object that represents a set of DOM elements, the .parent() method allows us to search …

.parentsUntil() in JQuery

.parentsUntil() – jQuery API Description: Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector. version added: 1.4.parentsUntil( [ selector ] ) selectorA string containing a selector expression to indicate where to stop matching ancestor elements. Given a jQuery object that …

.prev() in JQuery

  Description: Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. version added: 1.0.prev( [ selector ] ) selectorA string containing a selector expression to match elements against. Given a jQuery object that represents a set of DOM elements, the .prev() method allows us to …

.siblings() in JQuery

  Description: Get the siblings of each element in the set of matched elements, optionally filtered by a selector. version added: 1.0.siblings( [ selector ] ) selectorA string containing a selector expression to match elements against. Given a jQuery object that represents a set of DOM elements, the .siblings() method allows us to search through …

.end() in JQuery

  Description: End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. version added: 1.0.end() Most of the methods in this chapter operate on a jQuery object and produce a new one, matching a different set of DOM elements. When this happens, it is …

.is() in JQuery

  Description: Check the current matched set of elements against a selector and return true if at least one of these elements matches the selector. version added: 1.0.is( selector ) selectorA string containing a selector expression to match elements against. Unlike the rest of the methods in this chapter, .is() does not create a new …

.next() in JQuery

  Description: Get the immediately following sibling of each element in the set of matched elements, optionally filtered by a selector. version added: 1.0.next( [ selector ] ) selectorA string containing a selector expression to match elements against. Given a jQuery object that represents a set of DOM elements, the .next() method allows us to …

.add() in JQuery

  Description: Add elements to the set of matched elements. version added: 1.0.add( selector ) selectorA string containing a selector expression to match additional elements against. version added: 1.0.add( elements ) elementsone or more elements to add to the set of matched elements. version added: 1.0.add( html ) htmlAn HTML fragment to add to the …

.contents() in JQuery

  Description: Get the children of each element in the set of matched elements, including text nodes. version added: 1.2.contents() Given a jQuery object that represents a set of DOM elements, the .contents() method allows us to search through the immediate children of these elements in the DOM tree and construct a new jQuery object …

.eq() in JQuery

  Description: Reduce the set of matched elements to the one at the specified index. version added: 1.1.2.eq( index ) indexAn integer indicating the 0-based position of the element. Given a jQuery object that represents a set of DOM elements, the .eq() method constructs a new jQuery object from one of the matching elements. The …