[jQuery] Newbie traversal question

[jQuery] Newbie traversal question


I have a click event tied to an element and I need to access a grandparent
element that is quite a few jumps away. I could count the jumps and hard
code it but is there a way to recursively roll out until you reach a parent
that matches a given id?
Or do you manually have to do it?
Cheers in advance for any replies.
--
View this message in context: http://www.nabble.com/Newbie-traversal-question-tp19958727s27240p19958727.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.