keydown jqeury code example Example: keydown jquery $(document).keydown(function(event) { // Your code });