How would I go about removing all of the child elements of a DOM node in JavaScript?
Say I have the following (ugly) HTML:
&
simply only IE:
parentElement.removeNode(true);
true - means to do deep removal - which means that all child are also removed
true