This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Integration with barcode scanner

#50203
samuelepellizzarisamuelepellizzari
Participant

Hi Ernest,

Sorry, but I can’t get it to work. Probably am I missing something? Here is the complete code:

var barDataEl = document.getElementById('status');
for (var i = 0; i < barcodeResult.length; ++i) {
	var sBarcode = DSScanner.bin2String(barcodeResult.at(i));
	barDataEl.innerHTML = barcodeResult.at(i).type + ': ' + sBarcode;

$("input.orig").val(sBarcode).focus();

ASP.api(1, "searchFor", sBarcode);

}