Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Detect when the BACKSPACE is pressed

document.addEventListener("keydown", function (event) {
    if (event.key == "Backspace") {
        console.log("Backspace Pressed");
    }
})
 
PREVIOUS NEXT
Tagged: #Detect #BACKSPACE #pressed
ADD COMMENT
Topic
Name
5+3 =