I have an HTML table filled with a number of rows.
How can I remove all the rows from the table?
$("#employeeTable td").parent().remove();
This will remove all tr having td as child. i.e all rows except the header will be deleted.
tr
td