Removing a div with child divs
<p>I was wondering if i remove a div which had div's inside of it using :</p>

<pre><code>var div = document.getElementById('main');
div.parentNode.removeChild(div);
</code></pre>

<p>Will this also remove all the Divs that are inside of it ? Or will i have to clear <code>innerHTML</code> first?</p>
