How to determine if a click event was caused by submitting a form with “enter”?

后端 未结 0 970
感动是毒
感动是毒 2020-12-21 14:33

When you submit it form by pressing "enter" in an input, it triggers a "click" event on the submit button. I have a global click event listener, is it po

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