how to empty a table body in javascript code example
Example 1: javascript clear table body
$("#tbodyid").empty();
Example 2: javascript clear table body
<table>
<tbody id="tbodyid">
<tr>
<td>something</td>
</tr>
</tbody>
</table>