Skip to content

Instantly share code, notes, and snippets.

@iamakimmer
Created June 8, 2016 04:04
Onkeyup & keypress
document.onkeyup = function(event) {
var keypress = String.fromCharCode(event.keyCode).toLowerCase();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment