Answers for "table html body clear in js"

1

clear elements of table javascript

var Table = document.getElementById("mytable");
Table.innerHTML = "";
Posted by: Guest on April-21-2022
0

javascript clear table body

<table>
    <tbody id="tbodyid">
        <tr>
            <td>something</td>
        </tr>
    </tbody>
</table>
Posted by: Guest on April-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language