Jquery IF condition to check multiple value
<pre><code>if(($('#test1').val() == 'first_value')||($('#test2').val() == 'second_value') &amp;&amp; ($('#test3').val()!='third_value')|| ($('#test4').val()!='fourth_value'))
</code></pre>

<p>is there any better way to check above condition using jquery? </p>
