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 …

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