DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+6 =
Submit