I have the following HTML:
<table id="tableName">
<tr>
<td>One</td>
</tr>
</table>
<div id="divTableRow">
<tr>
<td>Two</td>
</tr>
</div>
I have the following code:
$('#tableName').append($('#divTableRow').html());
I have tried many ways such as targeting the tbody that jQuery creates however my TR and TD tags are never brought across.
Is there a way to encapsulate the html so it is inserted exactly as it is? I can not put everything in quotes as it contains a lot of inputs etc