A jQuery 'if' condition to check multiple values
<p>In the code below, is there a better way to check the condition using jQuery?</p>

<pre><code>if(($('#test1').val() == 'first_value')||($('#test2').val() == 'second_value') &amp;&amp; ($('#test3').val()!='third_value')|| ($('#test4').val()!='fourth_value'))
</code></pre>
