• <bdo id='aK7Oo'></bdo><ul id='aK7Oo'></ul>

  • <legend id='aK7Oo'><style id='aK7Oo'><dir id='aK7Oo'><q id='aK7Oo'></q></dir></style></legend>
  • <tfoot id='aK7Oo'></tfoot>

    <i id='aK7Oo'><tr id='aK7Oo'><dt id='aK7Oo'><q id='aK7Oo'><span id='aK7Oo'><b id='aK7Oo'><form id='aK7Oo'><ins id='aK7Oo'></ins><ul id='aK7Oo'></ul><sub id='aK7Oo'></sub></form><legend id='aK7Oo'></legend><bdo id='aK7Oo'><pre id='aK7Oo'><center id='aK7Oo'></center></pre></bdo></b><th id='aK7Oo'></th></span></q></dt></tr></i><div id='aK7Oo'><tfoot id='aK7Oo'></tfoot><dl id='aK7Oo'><fieldset id='aK7Oo'></fieldset></dl></div>

      <small id='aK7Oo'></small><noframes id='aK7Oo'>

      1. 将信用卡读卡器连接到 Web 应用程序?

        时间:2023-09-05

          <bdo id='s6gIe'></bdo><ul id='s6gIe'></ul>

          • <tfoot id='s6gIe'></tfoot>
          • <small id='s6gIe'></small><noframes id='s6gIe'>

            1. <legend id='s6gIe'><style id='s6gIe'><dir id='s6gIe'><q id='s6gIe'></q></dir></style></legend>
                  <tbody id='s6gIe'></tbody>
                <i id='s6gIe'><tr id='s6gIe'><dt id='s6gIe'><q id='s6gIe'><span id='s6gIe'><b id='s6gIe'><form id='s6gIe'><ins id='s6gIe'></ins><ul id='s6gIe'></ul><sub id='s6gIe'></sub></form><legend id='s6gIe'></legend><bdo id='s6gIe'><pre id='s6gIe'><center id='s6gIe'></center></pre></bdo></b><th id='s6gIe'></th></span></q></dt></tr></i><div id='s6gIe'><tfoot id='s6gIe'></tfoot><dl id='s6gIe'><fieldset id='s6gIe'></fieldset></dl></div>
                1. 本文介绍了将信用卡读卡器连接到 Web 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法将读卡器连接到我的网络应用程序 (javascript),这样用户就不必手动输入信用卡信息?

                  Is there a way to connect a card reader to my web application (javascript) so that the user don't have to manually type in the credit card information?

                  此网络应用程序用于在商店购买产品.用户点击要购买的商品,然后在阅读器中刷信用卡,他会得到一张收据.

                  This web app is for buying products on a store. The user clicks on what items he want to purchase and then he swipes the credit card in the reader and he will get a receipt.

                  推荐答案

                  其实是有可能的,因为简单的 USB 读卡器作为键盘输入设备.由于它充当键盘输入,一旦输入框成为焦点,您就可以刷卡,使用一些漂亮的 jQuery 等将其推送到隐藏字段,然后从那里处理它.

                  Actually, it is possible due to the fact that simple USB card readers act as keyboard input devices. Since it acts as a keyboard input, once an inputbox is in focus you could swipe the card, push it to a hidden field using some nifty jQuery etc and then process it from there.

                  请查看我对 Maris 链接到的那个问题的回答.

                  2016 年 2 月

                  我用一个非常简单的 jQuery 实现创建了一个 GitHub Gist.

                  I created a GitHub Gist with a very simple jQuery implementation.

                  这篇关于将信用卡读卡器连接到 Web 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:react 钩子中的 useEffect 执行顺序及其内部清理逻辑是什么? 下一篇:ReferenceError:使用 performance.now() 时未定义性能

                  相关文章

                    <legend id='XHNeS'><style id='XHNeS'><dir id='XHNeS'><q id='XHNeS'></q></dir></style></legend>

                    • <bdo id='XHNeS'></bdo><ul id='XHNeS'></ul>
                  1. <i id='XHNeS'><tr id='XHNeS'><dt id='XHNeS'><q id='XHNeS'><span id='XHNeS'><b id='XHNeS'><form id='XHNeS'><ins id='XHNeS'></ins><ul id='XHNeS'></ul><sub id='XHNeS'></sub></form><legend id='XHNeS'></legend><bdo id='XHNeS'><pre id='XHNeS'><center id='XHNeS'></center></pre></bdo></b><th id='XHNeS'></th></span></q></dt></tr></i><div id='XHNeS'><tfoot id='XHNeS'></tfoot><dl id='XHNeS'><fieldset id='XHNeS'></fieldset></dl></div>
                  2. <tfoot id='XHNeS'></tfoot>

                    <small id='XHNeS'></small><noframes id='XHNeS'>