SyntaxFix
Write A Post
Hire A Developer
Questions
This will remove all of the rows belonging to the body, thus keeping the headers and body intact:
$("#tableLoanInfos tbody tr").remove();