-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown change the keyboard layout type #778
Comments
Hi @francozzy! Try the $(function() {
var $kb = $("#keyboard");
$kb.keyboard({
layout: "qwerty",
// if true, the keyboard will always be visible
alwaysOpen: true
});
$("select").change(function(event) {
var val = event.target.value;
var kb = $kb.getkeyboard();
kb.options.layout = val;
kb.redraw();
});
}); |
Ha! I forgot I shortened it: $("select").change(function(event) {
var val = event.target.value;
$kb.getkeyboard().redraw(val);
}); |
hi, thank u |
ha, i got solution for my issues btw thank u again |
Add as many as you want. But be aware that you can only create one custom layout. In that case, you would need to add your named layouts into the |
ok. i'll keep it. thanks again |
Hi,
I want to make keyboard always visible, but will be change when dropdown value get change follow by the keyboard view type, for example from Numeric Pad into AlphaNumeric Pad.
So please help me to solve this issue
thank u
The text was updated successfully, but these errors were encountered: