How to hide SVG elements with JavaScript on a button click?
<p>I have tried doing that with this code:</p>

<pre><code>svgElement.style.display = "none";
</code></pre>

<p>but it didn't work. How is it possible to do it with <code>getElementById</code>? </p>