I have some textboxes( txt1, txt2), some buttons (btn1, btn2) and a placeholder in this webpage. User needs to scan a barcode into one txt1, fill out txt2, and then click on the btn1.
Right now, everytime, after user scanned something to txt1, the btn1 will be automatically clicked. So I set the btn1 to be disabled after the first textbox was focused on, and enable it after txt2 was filled.
However, that won't solve my problem. Because after btn1 was enabled, if user scan to txt1, btn2 will be clicked automatically too.
Anybody knows how to stop the scanning click the buttons?
...
Go to the complete details ...