Matt - I want the first ancestor of a certain type, not the first parent.

Yehuda - won't this just select all tr's that are the first tr's in their
table?

To clarify, say I have this structure:

<table>
 <tr>
   <td>
     <table>
       <tr>
         <td>
           <a id="foo">Demo</a>
         </td>
       </tr>
     </table>
   </td>
 </tr>
</table>

I want to select the first <tr> it comes to while searching upwards (or
outwards).

Chris
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to