Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove all child elements in javascript

document.getElementById("myDivID").innerHTML = "";
 
PREVIOUS NEXT
Tagged: #remove #child #elements #javascript
ADD COMMENT
Topic
Name
3+8 =