Why doesn't this JavaScript evaluation work?
<p>I only want to execure a ceratin code IF three input fields do not have empty values. So why doesn't this code work:</p>

<pre><code>if($("#field1").val() != "" &amp;&amp; $("#field2").val() != "" &amp;&amp; $("#field3").val() != "")
</code></pre>
