Facing problem while printing KeyCode using jQuery
<p>I have a small requirement that is to print the Keycode when any key is pressed.<br>
Below is my code..  But it doesn't seems to work, Please someone help me  </p>

<pre><code>$('document').keyup(function() 
{
alert(event.keyCode);
});
</code></pre>
