I've been reading about the many jQuery selectors, and it seems that there is great flexibility looking for descendants. For instance // DIV.foo will go looking for any DIVs with class foo starting at the given context, no matter how far down it might be burried.
What I've been unable to stumble upon is the same kind of flexibility when looking for ancestors. Yes, the .. notation works to take me up a parent, but what I'd really like to see is something like .../ DIV.foo, which would keep working its way up the ancestor tree until it reaches a DIV of class foo. Does such a beast exist within jQuery or its many extensions? Perhaps it's called something else, or maybe I just missed it when reading http://docs.jquery.com/Selectors. -Walt Stoneburner