Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js vanilla detect any input

document.onkeypress = function (e) {
    e = e || window.event;
    // use e.keyCode
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #vanilla #detect #input
ADD COMMENT
Topic
Name
9+5 =