Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js when key is pressed

document.addEventListener("keypress", function(event) {
	// do stuff
});
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #js #key #pressed
ADD COMMENT
Topic
Name
8+6 =