开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜