Friday, April 14, 2017

Re: ScriptElement.setInnerText doesn't take effect

If it is inline script (no src attribute) then I think that is not possible with JavaScript and thus not possible with GWT. Inline JavaScript is executed immediately / synchronous during page load. I think won't execute again when you change it using innerHTML.

I guess you would need to use a proxy server that modifies the files before you send it to the browser.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment