Switch Statement in Javascript
<p>Can anyone help me?</p>

<p>This doesn't seem to work:</p>

<pre><code>switch (parseInt(charCode))
    {
        case (charCode &gt;= 65 &amp;&amp; charCode &lt;=90): //UPPERCASE
            alert("UP");
        break;

        case (charCode &gt;= 97 &amp;&amp; charCode &lt;=122): //LOWERCASE
            alert("LO");
        break;

        case (charCode &gt;= 48 &amp;&amp; charCode &lt;=57): //NNUMBERS
            alert("NUM");
        break


    }
</code></pre>

<p>Thanks</p>
