document.addEventListener("keyup", function(e) {
e = e || window.event;
// Add scripts here
e.keyCode; // -> returns the keycode of the key that triggered the event
e.key.toString(); // -> returns the ASCII character of the key that triggered the event
});