显示密码的虚拟关键字 asp.net

发布于 2024-09-02 01:12:21 字数 445 浏览 2 评论 0原文

我有一个登录页面,输入类型为“密码”,我想要一个虚拟键盘来输入密码。我进行了搜索,找到了虚拟键盘的 jquery 脚本。代码说要将其添加到我的页面

$('input[type=password]').keyboard({
          layout: "qwerty",
          customLayout:
        [["q w e r t y {bksp}", "Q W E R T Y {bksp}"],
        ["s a m p l e {shift}", "S A M P L E {shift}"],
        ["{accept} {space} {cancel}", "{accept} {space} {cancel}"]]
      });

,但我无法使其工作!!!!当我将焦点集中在密码控制上时,什么也没有发生。 有什么建议吗?谢谢你!!妮可.

I have a login page with an input of type "password" I would like to have a virtual keyboard to enter the password. I've searched and I found the jquery script for virtual keyboard. The code said to add this to my page

$('input[type=password]').keyboard({
          layout: "qwerty",
          customLayout:
        [["q w e r t y {bksp}", "Q W E R T Y {bksp}"],
        ["s a m p l e {shift}", "S A M P L E {shift}"],
        ["{accept} {space} {cancel}", "{accept} {space} {cancel}"]]
      });

but I cant make it work!!!! nothing happens when I set focus on my password control.
Any suggestions?? thank you!! Nicole.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少钕鈤記 2024-09-09 01:12:21

我假设您正在使用 虚拟键盘小部件 插件。

  1. 你有包含插件脚本吗? (jquery.keyboard.js)
  2. 您的页面上有 CSS 脚本吗?
  3. 您使用的是 jQuery 1.3.x 版本吗?
  4. 你有 jQuery UI 吗?

I assume you are using the Virtual Keyboard Widget plugin.

  1. Do you have a plugin script included? (jquery.keyboard.js)
  2. Do you have the CSS scripts on your page?
  3. Are you using jQuery version 1.3.x?
  4. Do you have the jQuery UI included?
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文