DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
execute JS code after pressing space bar
document.body.onkeyup = function(e){ if(e.keyCode == 32){ //your code } }
PREVIOUS
NEXT
Tagged:
#execute
#JS
#code
#pressing
#space
#bar
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit