Finding a particular parent of an HTML DOM element
Posted
by DanC
on Stack Overflow
See other posts from Stack Overflow
or by DanC
Published on 2010-06-09T13:46:27Z
Indexed on
2010/06/09
13:52 UTC
Read the original article
Hit count: 189
Lets say I have the following:
<table> <!-- I want a reference to this table -->
<tr>
<td>
<table>
<tr><td><span class="theSpanClass"></span></td></tr>
</table>
</td>
</tr>
</table>
Using jQuery, I'd like to be able to reference the outer-most table
Thanks
© Stack Overflow or respective owner