jQuery multiple conditions within if statement
<p>What is the syntax for this loop to skip over certain keys?  The way I have it written is not working properly.</p>

<pre><code> $.each(element, function(i, element_detail){
    if (!(i == 'InvKey' &amp;&amp; i == 'PostDate')) {
        var detail = element_detail + '&amp;nbsp;';
        $('#showdata').append('&lt;div class="field"&gt;' + i + detail + '&lt;/div&gt;');
       }
 });
</code></pre>
