hide/disaply button added
This commit is contained in:
@@ -26,4 +26,11 @@ const showTable = (idTable, data) => {
|
||||
.enter()
|
||||
.append("th")
|
||||
.text(d => d);
|
||||
}
|
||||
}
|
||||
|
||||
const clearTable = (idTable) => {
|
||||
const table = document.getElementById(idTable);
|
||||
while (table.children.length > 0) {
|
||||
table.removeChild(table.children[0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user