Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

event listener input keypress

//records the keys into console from input element
$('input').keypress(function(event){
    console.log(event.key)
});
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #event #listener #input #keypress
ADD COMMENT
Topic
Name
7+2 =