Search
 
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
Name
3+1 =