But the problem is in my case it is not possible as I am dealing with legacy code here. I just have access to one external js file.
Is there any other way to call google.load after page loads and it still works ? Thank you very much for the reply. Sahil On Wed, Jun 16, 2010 at 11:47 AM, Jeremy Geerdes <[email protected]>wrote: > You have to call google.load('mootools','1.2.1') before the onload event > fires. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project quote: > http://jgeerdes.home.mchsi.com > [email protected] > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > > On Jun 16, 2010, at 11:41 AM, sahil mehta wrote: > > Hey Everyone, > > Does anybody knows the solution of this problem ? > > Any help would be appreciated. > > Thanks > Sahil > > > On Mon, Jun 14, 2010 at 3:38 PM, sahil mehta <[email protected]> wrote: > >> Hello Everyone, >> >> I am trying to call google.load("mootools", "1.2.1"); but its always >> complaining about the following error message. >> >> Module: 'mootools' must be loaded before DOM onLoad! . >> >> I am dealing with a legacy code in my project. hence, i have just >> access to one external javascript file where I can add all >> google.load() related code. >> >> I tried using google.load("mootools", "1.2.1", {"callback" : OnLoad}); >> However, even that is giving the same error message. >> >> Please let me know how can I work around to this problem. >> >> Thanks >> Sahil >> >> -- >> 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]<google-ajax-search-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-ajax-search-api?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]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?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]<google-ajax-search-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?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]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
