delete row javascript
function deleteThisRow() {
this.closest('tr').remove()
}
delete row javascript
function deleteThisRow() {
this.closest('tr').remove()
}
javascript remove row from table
document.getElementById("myTable").deleteRow(0); // First row
document.getElementById("myTable").deleteRow(-1); // Last row
function deleteRow(r) {
var i = r.parentNode.parentNode.rowIndex;
document.getElementById("myTable").deleteRow(i);
}
delete all the rows of table javascript
$("#table_of_items tr").remove();
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us