Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

clear element children js

const myNode = document.getElementById("foo");
myNode.textContent = '';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clear #element #children #js
ADD COMMENT
Topic
Name
9+1 =