how to blur a html input and not trigger focusout event

前端 未结 0 792
[愿得一人]
[愿得一人] 2021-01-14 23:13

I am trying to make my search input call its method on pressing enter key and in losing its focus (clicking outside of the input element). I solved this by adding this event

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