I have the function below
<tr id="Player123"></tr>
function remove() {
var child = document.getElementById("Player123");
child.parentElement.removeChild(child);
}
I want it to remove an entire table row.
For some reason it works perfectly on my local host, but on the web serber all it does is remove the button that calls the function.
Does anyone know why?