Answers for "jquery delete current table row"

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
0

javascript remove the current tr with click

<!--Buuton inside any cell in the TR row -->
<input type="button" onClick="$(this).closest('tr').remove();">
Posted by: Guest on November-23-2020
0

javascript remove the current tr with click

//JQuery:
$(this).closest('tr').remove();
Posted by: Guest on November-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language