Yes! I'd recommend using JSNI for that: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface
On Thu, Jun 25, 2009 at 12:56 AM, Kevin Nilson<[email protected]> wrote: > > How can I call a javascript function in my index.html page from > EntryPoint.onModuleLoad(). Currently I am doing: > RootPanel.get().add(new HTML("<script>doSomething( )</script>")); > > Is there a better approach? > > Kevin NIlson -- Alex Rudnick swe, gwt, atl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
