conditional if for many values, better way
<p>Is there a better way to deal with checking multiple values. It starts to get really busy when I have more than 3 choices. </p>

<pre><code>if (myval=='something' || myval=='other' || myval=='third') {

}
</code></pre>

<p>PHP has a function called <code>in_array()</code> that's used like this: </p>

<pre><code>in_array($myval, array('something', 'other', 'third')) 
</code></pre>

<p>Is there something like it in js or jquery?</p>
