Pass a client side Javascript to an HTML Element Dynamically

Hi Robert,

I suspect that by using “$.getScript” you are encountering a security constraint that prevents that script from writing to the document.

Try loading the script by writing the script tag to the document yourself.
In the HTML Component’s “onmessage” handler, try doing this:

document.write(event.data)

Good luck!