Table add row
$('#myTable > tbody:first').append('<tr>...</tr><tr>...</tr>');
$('#myTable > tbody:last').append('<tr>...</tr><tr>...</tr>');
<table id=myTable>
<tbody id=first>
<tr><td>
<table id=myNestedTable>
<tbody id=last>
</tbody>
</table>
</td></tr>
</tbody>
</table>