I want to remove all rows of my table except the header.
This is what I\'ve tried but it always deletes all rows and header:
$(\"#<%=tblDetailFour
Based on the html you provided the solution is following
$("#tblDetailFourn tbody").empty();
This will work perfectly.
Thanks