Do I need to delete all the children of a DOM element , when I delete the parent itself?
<p>If I delete a parent element, do the child elements remain in the browser's memory?</p>

<pre><code>&lt;div id="parent"&gt;
    &lt;ul&gt;
        &lt;li&gt;one&lt;/li&gt;
        &lt;li&gt;two&lt;/li&gt;
        &lt;li&gt;one&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;script&gt;

    var element = document.getElementById("parent"); 
    element.parent.removeChild(element);

&lt;/script&gt;
</code></pre>
