I have attached my usb scanner to the pc. it works well with a normal input field. But i dont want to show the field box. I only want to read the Data through scanning.
I tried hidding the input field by using input type="hidden" . that hides the field but data doesnt pass. I tried display:none; same as before. And Finally i tried vanishing the field's border/outline But it was useless.
Just Figured out that setting the z-index: -1 does the trick. If there's a better option let me know
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.