how prevent whitespaces jquery keycode
<p>I am using a syntax like this </p>

<pre><code>if(e.keycode  == 17 ....
   e.preventDefault()
</code></pre>

<p>and works for all keys controls, alts, tabs and etc all but one the space which the keycode is 38 I want to prevent the user from typing whitespaces in a textbox </p>
