I have an HTML table filled with a number of rows.
How can I remove all the rows from the table?
Slightly quicker than removing each one individually:
$('#myTable').empty()
Technically, this will remove thead, tfoot and tbody elements too.
thead
tfoot
tbody