feature req: .until()
feature req: .until()
I was wondering if it's feasible to add an "until()" method that is identical to the existing "prevUntil" and "nextUntil", except it will determine the direction to traverse for you based on the index of the supplied parameter. I realize this may get a little complicated when passing a jquery object or selector that has multiple matches, in which case I'd imagine it would use the first result. Furthermore, an "untilAfter()" that the same as the proposed "until()" but also includes the parameter in the new target stack would be nice. That way we won't have to use ".add()" afterwards in which we find the same element that was used as the parameter.