Hi, You can add javascript asynchronously whenever you want and invoke any function from that js using JSNI.
Please refer following https://developers.google.com/web-toolkit/articles/using_gwt_for_json_mashups You will probably need something like following to add js in the page and then you can invoke the method from your js using JSNI public void addScript(String url) { Element e = DOM.createElement("script"); DOM.setAttribute(e, "language", "JavaScript"); DOM.setAttribute(e, "src", url); DOM.appendChild(RootPanel.get().getElement(), e); } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/raYYrIyZ4aMJ. 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.
