the event.which property normalizes event.keyCode and event.charCode. It is recommended to watch event.which for keyboard key input. related #37 http://api.jquery.com/event.which/