Category «.Net Core»

.prevAll() in JQuery

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

.last() in JQuery

  Description: Reduce the set of matched elements to the final one in the set. version added: 1.2.last() Given a jQuery object that represents a set of DOM elements, the .last() method constructs a new jQuery object from the first matching element. Consider a page with a simple list on it: <ul> <li>list item 1</li> …

.prevUntil() in JQuery

  Description: Get all preceding siblings of each element up to but not including the element matched by the selector. version added: 1.4.prevUntil( [ selector ] ) selectorA string containing a selector expression to indicate where to stop matching preceding sibling elements. Given a jQuery object that represents a set of DOM elements, the .prevUntil() …

.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 …