bcscanner
jquery plugin for HID barcode scanner
usage
// with default values; // with custom options;
options
hidden (boolean)
- true, input field will be moved out of visible area
- false, input field stays in position
default is true
interval (int)
the interval (in ms) in which the field requests the focus. If interval < 0 the focus will not be requested.
default is 50
onChar (array of objects)
Defines functions depending of a charCode
charCode: 13 { ; }
methods
start([interval])
starts the focus requesting interval
stop()
stops the focus requesting interval
destroy()
removes bcscanner