189
rated 0 times
[
191]
[
2]
/ answers: 1 / hits: 70666
/ 14 Years ago, sun, february 20, 2011, 12:00:00
I have a div that is filled by JS created DOM elements,
I want the div to be cleared upon the JS function repeating, however I have heard that using document.getElementById('elName').innerHTML = ;
is not a good idea,
What is a valid alternative to doing this to clear the div's contents?
More From » html