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
I've tried svg.text("") and it seems to work. Clears out all the inner text, keeps the attributes.
svg.text("")