[jQuery] Finding a parent element

[jQuery] Finding a parent element


I have an element (call it e1) with an onclick handler nested a
variable length from a parent element (call it p1).
I need to go up to the parent (p1), which might be 1, 2, or 3 levels
up, then down to another element (call it e2). I want to hide element
e2 when e1 is clicked.
Is there a single-line jQuery syntax which can do this?
Sam