Detect scanner input using jquery

前端 未结 3 723
逝去的感伤
逝去的感伤 2021-02-06 16:39

Suppose I have two textboxes:




        
3条回答
  •  死守一世寂寞
    2021-02-06 17:15

    Take a look at jQuery's keypress event

    Bind this to your input box and it'll alert you when a user is using their keyboard for barcode input

    Also, have you seen this question?

提交回复
热议问题