jQuery nextUntil() Method
jQuery nextUntil() Method
The nextUntil() method is used to return all next sibling elements between the selector and stop. Sibling elements are those elements that have a common parent.Similar methods are next() and nextAll().
Syntax:-
Its syntax is:- $(selector).nextUntil(stop,filter)
Further Explanation:-
Parameter | Description |
---|---|
stop | Optional. A selector expression, element, or jQuery object indicating where to stop the search for the next matching siblings elements |
filter | Optional. Specifies a selector expression to narrow down the search for sibling elements between the selector and stop |