Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript detect back space

myInput.addEventListener('keydown', function(event) {
	if (event.key === "Backspace") {
    	alert("they pressed backspace");
	}
});
 
PREVIOUS NEXT
Tagged: #javascript #detect #space
ADD COMMENT
Topic
Name
4+7 =