Hey all,
I want to select the first parent of my selection that is a td element. How
do I do that?
I don't want parent(), since the number of parents in between may vary, or
parents(), since I don't want to select ALL the td's that are up the
hierarchy. Just the first parent that's a td.
So like:
<td> (want to do something to this td)
<div>(1 to n divs here)
<div>click me!</div>
</div>(1 to n closing divs)
</td>
I think I need an xpath or something, but I tried some stuff and I'm
stumped.
-- Josh