Sticking to the official jQuery API, is there a more concise, but not less efficient, way of finding the next sibling of an element that matches a given selector other than
How about using the first method:
first
jQuery.fn.nextMatching = function(selector) { return this.nextAll(selector).first(); }