Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove an element javascript html

const node = document.getElementById("node");
node.parentNode.removeChild(node);
 
PREVIOUS NEXT
Tagged: #remove #element #javascript #html
ADD COMMENT
Topic
Name
3+4 =