Hi, i have problem with hiding virtual keyboard on load.
When I try to setVisible(false) at setOnLoadCallback after creation :

<script type="text/javascript" >
google.load("elements", "1", { packages: "keyboard" });

        function onLoad(){
                _Keyboard = new google.elements.keyboard.Keyboard([
                        google.elements.keyboard.LayoutCode.RUSSIAN],
                        ['familyName', 'name', 'surname', 'paspOrganization']);

                _Keyboard.setVisible(false);
        };

google.setOnLoadCallback(onLoad);

</script>

it fails with error

h is undefined
anonymous("h")keyboard.I.js (line 39)
L("h")keyboard.I.js (line 40)
anonymous()keyboard.I.js (line 40)
anonymous(Object name=a value=false)keyboard.I.js (line 47)
onLoad()record.sdf (line 18)
[Break on this error] M()){n.ha();q=d}};a.Rb=function(){return...lse L
("v")}function ha(){if(Y.w){var c=\n keyboard.I.js (line 39)

it seems that keyboard is not renedered when i try to change
visibility.
So how correct initiate virtual keyboard at hidden state ???


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to