Detect scanner input using jquery
问题 Suppose I have two textboxes: <input type="text"id="resourceName" placeholder="Resource name"/> <input type="text" id="barCode" placeholder="barCode(EAN-13)"/> To populate this textboxes I use barcode scanner and keyboard. What I want is a little bit difficult and I don't know how to do this . I can't differentiate when user is populating text boxes with keyboard and when with barcode. I need this becouse i want to implement something like : when user is usign barcode scanner and if we don't