I have the following HTML
<table id="tbl1">
<!-- Table row trHeader should be here based on a flag //-->
</table>
<table id="tbl2">
<tr id="trHeader">
<td>test</td>
</tr>
</table>
I have a flag (essentially a button), that I use to be able to move the table row with id="tbl2". How would I switch it back to the same position based on this flag.