Welcome to Freelancer ID
We are upgrading the website and it will be done soon.

Catch Keyboard Events with jQuery - Demo

jKey - Catch keyboard event in jQuery

Press any key to get it on aler(); This code is using keydown event.

Here is the Code used:
function getKey(key){
    if ( key == null ) {
        keycode = event.keyCode;
    // To Mozilla
    } else {
        keycode = key.keyCode;
    }
    // Return the key in lower case form
    return String.fromCharCode(keycode).toLowerCase();
}
$(document).ready( function (){
    $(document).keydown(function (eventObj){
        alert("Keydown: The key is: "+getKey(eventObj));
    });
});