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.
- Do you have a plugin script included? (jquery.keyboard.js)
- Do you have the CSS scripts on your page?
- Are you using jQuery version 1.3.x?
- Do you have the jQuery UI included?
精彩评论