Category «.Net Core»

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

.find() in JQuery

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

.prevUntil() in JQuery

.prevUntil() – jQuery API 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 …

.first() in JQuery

  Description: Reduce the set of matched elements to the first in the set. version added: 1.2.first() Given a jQuery object that represents a set of DOM elements, the .first() 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> <li>list …

.map() in JQuery

  .map( callback(index, domElement) ) Returns: jQuery Description: Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.. version added: 1.2.map( callback(index, domElement) ) callback(index, domElement)A function object that will be invoked for each element in the current set. The .map() method is particularly useful …

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