On 14/12/06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > Would this be a candidate for addition to the core possibly?
>
> The ancestorsTo looks like it's an up-the-tree analog of the nextUntil
> method for siblings that was discussed here a while back. I think the
> general consensus on that was that there would be an extended navigation
> plugin rather than add all these to the core. Maybe they should be named
> ancestorsUntil and siblingsUntil for better consistency?

The only problem with that is that it also includes the element
matching the expression. nextUntil does not. There may be cases when
you want that, but other times you may not. Perhaps an additional
parameter?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to