Remove or hide a div if it's empty
<p>I know this should be simple but can't figure it out. Here's the code.</p>

<pre><code>&lt;div class="cols lmenu_item1" id="leftMenuWrapper"&gt;
&lt;div id="leftmenu"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>I simply need to remove the "leftMenuWrapper" if "leftmenu" is empty. Here's what I've been using.</p>

<pre><code>$('#leftmenu').empty().remove('#leftMenuWrapper');
</code></pre>

<p>Sorry if this is a simple question. Having a Monday! </p>

<p>Thanks!</p>
