JSFiddle - React, Tailwind, and code Playground

HTML

<table><tbody><tr>
<td><input id="c11"  value=aaa></td>
<td><input id="c12" value="VVV"></td>
</tr>
</tbody>
</table>

JavaScript

alert('After you close this, the inputs will vanish');
var inputs = document.getElementsByTagName('input');
while (inputs.length) inputs[0].parentNode.removeChild(inputs[0]);