Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript remove dom element

var elem = document.querySelector('#some-element');
elem.parentNode.removeChild(elem);
 
PREVIOUS NEXT
Tagged: #javascript #remove #dom #element
ADD COMMENT
Topic
Name
2+6 =