ScannerKeystrokeObserver is a class to automatically detect entries from a hardware device that generates keystrokes (like a barcode scanner).
Include a reference to the ScannerKeystrokeObserver.js script file and the following code in a script block in the head of your web page.
new ScannerKeystrokeObserver({ onRead: function(v) { $('txtGlobal').set('value', v).highlight(); } });
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus