JSFiddle - React, Tailwind, and code Playground
HTML
<table border="1">
<tr class="001">
<td id="1"></td>
<td id="2"></td>
</tr>
</table>
JavaScript
$("table > tr.001").find("td #2").text("test");
<table border="1">
<tr class="001">
<td id="1"></td>
<td id="2"></td>
</tr>
</table>
$("table > tr.001").find("td #2").text("test");