Show hide div based on multiple checkboxes
<p>I have a div ("#CME") that is hidden initially, I need to show it if ALL 6 of these checkboxes are checked.</p>

<pre><code>$("#CME").hide();
    (function() {
        if("#CME1") &amp;&amp; ("#CMEQL") &amp;&amp; ("#CBT1") &amp;&amp; ("#CBTQL") &amp;&amp; ("#NYM1") &amp;&amp; ("#CMX1").is(":checked") {
            $("#CME").show();
        } else {
            $("#CME").hide();
        }
    });
</code></pre>

<p>This keeps getting an error in firebug. thx.</p>
