SyntaxFix
Write A Post
Hire A Developer
Questions
Easiest way :
$("#mytable").find($("tr")).slice(1).remove()
-first reference the table -get the list of elements and slice it and remove the selected elements of the list