开发者

Display virtual keyword asp.net for password

开发者 https://www.devze.com 2022-12-31 13:47 出处:网络
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 t

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.


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?
0

精彩评论

暂无评论...
验证码 换一张
取 消