Wondering if this code excerpt can represent a event listener
Can we call this:
$('#nomeInput').keypress(functio开发者_StackOverflow中文版n(){ //code here...
an event listener?
Thanks.
Yes. The function you pass to the keypress
method is an event listener.
at least jQuery does ... so I would say YES
精彩评论