Is it possible to run java script within the dContainer control?
I have a dContainer control within which I am loading an html form which I have created dynamically (I use the '/setContent' publish/subscribe event to do this).
All works fine, however, in some cases I need to submit the html form as soon as it loads. I was hoping to use java script for this but it appears this is not being executed in the dContainer control.
Anyone have any ideas how I can get the java script to fire? the html I pass to the dContainer is as follows (nb I have also tried adding the script to the onload attribute of the body tag but have the same problem):
Alternatively - is there a way to access the content of the dcontainer control from the glue.js file? Something like:
var myDContainer = document.getElementById("dContainer");
Thanks in advance for any help/suggestions