Checking if two divs contain content, and if not adding a class to their container div
<p>I am trying to check whether two child divs contain content and if they do not ie they are empty then I would like to add a class to their parent div. 
This is my code but this adds the class="noBorder" to the parent div if the child divs are empty or not.</p>

<pre><code>if(('div.nav-previous:empty') &amp;&amp; ('div.nav-next:empty')) {
    jQuery('div#nav-below').addClass('noBorder')        
};
</code></pre>

<p>Any help with this would be much appreciated.</p>

<p>Gina</p>
