[jQuery] Get first ancestor of type

[jQuery] Get first ancestor of type

Hi there,
How would I select the first ancestor of a certain type? Eg if I want to select the first div that is found while searching up the DOM from an element.
Cheers,
Chris
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/