jQuery “nextUntil()” is used to get the next siblings of the matched elements.
Syntax : jQuery nextUntil() method
$(selector).nextUntil(selector-element,filter);
selector-element : selector-element is stop point.
$(selector).nextUntil(selector-element,filter);
selector-element : selector-element is stop point.