Christopher Jordan schrieb:
> I've not used any jQuery that traverses the DOM based on who is a child 
> or parent of who or what element was roommates with some other element 
> in college. But I think I've got a situation in which this sort of thing 
> will help.
>   
parent() or parents() maybe what you need.

Eg.:
$(this).parent()/parent("td")/parents("td").addClass("highlight")

And please, it helps us (and therefore yourself) to keep questions short 
and simple :-)

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to