Hi deck, I think the problem may be with how the _Keyboard variable is declared. Try adding var before the _Keyboard =. If that isn't the issue then I'd like to try to reproduce this issue. Could you share more of your code, or even better, link to the page where you are seeing this error?
Happy coding, Jeff On Mon, Aug 24, 2009 at 4:38 AM, deck <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
