Skip to content

Instantly share code, notes, and snippets.

@Nolski
Created April 13, 2017 13:41
Show Gist options
  • Save Nolski/d05888c47710c2e9ab2f1df7598fd4b1 to your computer and use it in GitHub Desktop.
Save Nolski/d05888c47710c2e9ab2f1df7598fd4b1 to your computer and use it in GitHub Desktop.
$( document ).keypress(function(e) {
console.log( "Keycode for " + e.key + "is: ", e.keyCode );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment