Hi,
Is there any method to access the first parent of an element who is of
type X. For example
<elem1 name="1">
<elem1 name="2">
<elem1 name="3">
<elem2>
</elem1>
</elem1>
</elem1>
I have elem2 object, and want to access the first seen elem1 (whose
name is 3), or last parent who is elem1 (whose name is 1 in my
example).
I provide name just for clarification, and there is no such attribute
in my original HTML.
Thanks.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/