Category «.Net Core»

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

.has() in JQuery

  Description: Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. version added: 1.4.has( selector ) selectorA string containing a selector expression to match elements against. version added: 1.4.has( contained ) containedA DOM element to match elements against. Given a jQuery object that represents a …

.filter() in JQuery

  Description: Reduce the set of matched elements to those that match the selector or pass the function’s test. version added: 1.0.filter( selector ) selectorA string containing a selector expression to match elements against. version added: 1.0.filter( function(index) ) function(index)A function used as a test for each element in the set. this is the current …

.nextAll() in JQuery

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