I am writing a web based application. Data is read from a Barcode reader. When a new value is read in the system should detect that a value has been entered. I can't see which event to monitor on the input.
script function checkbarcode (value) { //Some stuff to read the barcode } script
body
body
The problem is that none of the keypress events will work because it is an input from the barcode reader. The onchange event wont work because I am not loosing focus.
What I need is a mechanism to detect when the contents of the input box has changed, but retaining focus on the input box.