I thought this might be a fast way to remove the contents of a very large table (3000 rows):
$jq(\"tbody\", myTable).remove();
But it\'s taking
It's better to avoid any kind of loops, just remove all elements directly like this:
$("#mytable > tbody").html("");