Presence of a table like this (with title and body)
<table id="myTableId"> <thead> </thead> <tbody> </tbody> </table>
remove each tr having a parent called tbody inside #tableId
$('#tableId tbody > tr').remove();
and vice versa if you want to add to the table
$('#tableId tbody').append("<tr><td></td>....</tr>");
hichamkazan May 23 '17 at 12:17 2017-05-23 12:17
source share