southbeach
Programmer
Hello!
For some time I have played with the idea of writing a PHP library to scan USA driver licenses using a standard 2D barcode scanner. Well, I finally bought a SYMBOL scanner and my enthusiasm was cut short when upon scanning my own driver license into a simple <textarea> box the browser went crazy and all sorts of things appeared to be happening ... well, not that many but a few.
It appears as if the scanning of the 2D code triggered hotkeys like executions and my browser started to open windows (I use Firefox).
If I scan the same into a windows text document I can see the data segment broken into lines as if there are NL/LF characters embedded within ... If I scan it within a notepad ++ document I get a long line ...
Now my question:
How does one capture the data scanned without triggering browsers' built in behavior nor submitting the form?
Thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
For some time I have played with the idea of writing a PHP library to scan USA driver licenses using a standard 2D barcode scanner. Well, I finally bought a SYMBOL scanner and my enthusiasm was cut short when upon scanning my own driver license into a simple <textarea> box the browser went crazy and all sorts of things appeared to be happening ... well, not that many but a few.
It appears as if the scanning of the 2D code triggered hotkeys like executions and my browser started to open windows (I use Firefox).
If I scan the same into a windows text document I can see the data segment broken into lines as if there are NL/LF characters embedded within ... If I scan it within a notepad ++ document I get a long line ...
Now my question:
How does one capture the data scanned without triggering browsers' built in behavior nor submitting the form?
Thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.