Answers for "delete tr from table jquery"

0

remove tr in table jquery

$("#MyTable").on("click", "#DeleteButton", function() {
   $(this).closest("tr").remove();
});
Posted by: Guest on April-11-2020
1

jquery remove all tr from table

$("#tableId > tbody"). empty();
Posted by: Guest on February-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language