Wondering if this code excerpt can represent a event listener
-
01-10-2019 - |
Question
Can we call this:
$('#nomeInput').keypress(function(){ //code here...
an event listener?
Thanks.
Solution
Yes. The function you pass to the keypress
method is an event listener.
OTHER TIPS
at least jQuery does ... so I would say YES
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow