In jQuery, how would I descend as far as possible into the HTML tree?
For simplicity, I only have one path going downward.
(related but bonus: how do I find the deepest element with multiple downward paths?)
<html>
<table id="table0">
<tr>
<td id="cell0">
<div class"simple"> I want to change this information </div>
</td>
</tr>
</table>
</html>
I want to change the innermost HTML of the cell named cell0 but I don't necessarily know the names of all the classes inside. Is it possible to select this far without knowing these names?
Thanks much!