Thanks Jeremy! , that works very well :)

On Dec 19, 6:56 pm, Jeremy Geerdes <[email protected]> wrote:
> Add a callback parameter to your options argument (i.e., the object literal 
> you're passing as a third argument). Something like this:
>
> google.load('elements', '1', {packages: 'keyboard', callback: helloWorld});
>
> helloWorld will have to be a function reference, and it will be called when 
> the package is loaded. At least, that's the way it's supposed to work.
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On Dec 19, 2011, at 7:20 PM, Abdulaziz Zaben wrote:
>
> > Hi,
> > I'm trying to use it as a bookmarklet but I couldn't,
>
> > when ever the browser reads this
> > google.load("elements", "1", {packages: "keyboard"});
>
> > it reloads the page!, is there any way to workaround this?
>
> > --
> > 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]
> > To view this message on the web, visit
> >http://groups.google.com/group/google-ajax-search-api?hl=en_US
> > For more options, visit this group at
> >http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

-- 
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]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to