In HTML, I can clear a element with this command: div.innerHTML = \"\"; Is there an equivalent if I have an
element with this command: div.innerHTML = \"\"; Is there an equivalent if I have an
div.innerHTML = \"\";
Is there an equivalent if I have an
element = document.getElementById("elementID"); element.parentNode.removeChild(element);
I got the idea from http://www.carto.net/svg/manipulating_svg_with_dom_ecmascript/