开发者

PHP / JQUERY / BARCODE SCANNER

开发者 https://www.devze.com 2023-04-03 06:34 出处:网络
i\'m creating a webapp. for a customer and have a small issue. It prints out orders with a barcode on it, which can be scanned again into the app.

i'm creating a webapp. for a customer and have a small issue. It prints out orders with a barcode on it, which can be scanned again into the app. The problem is when a scan is being performed, it reads the barcode perfect but enters and开发者_C百科 opens up previous loaded pages.

Anyone any help concerning the barcode scanning problem? I'm scanning it into a textbox & it automatically hits the numbers into the address bar for some reason.

<form method="post" action="?action=orderscanpos">
<fieldset>
<table cellpadding="5" cellspacing="0" width="100%">
    <tr><td align="left">Ordernummer:</td><td align="left"><input type="text" name="order_id"  value="<?php echo $scan; ?>"/></td></tr>
    <tr><td align="left"></td><td align="left"><input type="submit" name="cmd_up" value="order status updaten" /></td></tr>
</table>
</fieldset>


Check the keyboard configuration details of the barcode reader, most can be configured to hit certain key combinations prior to the barcode info, maybe yours is configured to hit a key combination that causes that.

0

精彩评论

暂无评论...
验证码 换一张
取 消