Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

keyup event

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
});
Source by matt-destroyer.github.io #
 
PREVIOUS NEXT
Tagged: #keyup #event
ADD COMMENT
Topic
Name
2+1 =