Javascript keycodes for Alt, Ctrl, and Shift
<pre><code>$("#text").bind('keypress', function(e) {
    var code = (e.KeyCode ? e.keyCode : e.which);  
    alert(code);
}
</code></pre>

<p>It works fine for everything except <kbd>Alt</kbd>, <kbd>Ctrl</kbd>, or <kbd>Shift</kbd>.<br>
But in all tutorials that i found it should echos 17, 18, 19</p>

<p>Why?</p>
