> ... is there a way to recursively roll out until you reach a parent > that matches a given id?
It sounds like you want .parents(selector), which looks for the ancestor elements matching the selector. http://docs.jquery.com/Traversing/parents#expr
> ... is there a way to recursively roll out until you reach a parent > that matches a given id?
It sounds like you want .parents(selector), which looks for the ancestor elements matching the selector. http://docs.jquery.com/Traversing/parents#expr