How does the browser treat multiple $(document).keypress methods?

前端 未结 0 770
眼角桃花
眼角桃花 2020-12-02 15:31

I\'m building an application that constantly listening to key presses. I use the $(document).keypress method, passing it

function(e) {

if (e.keyCode == 13) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题