var sc = document.createElement ('script');
document.body.appendChild(sc);
sc.src = '';
If you create a function out of this (recommended), the file is included in the DOM when it hits the next </script> tag. This is a bug in IE, you have to close a script in order for the newly created script to be included in the DOM.
Jim
On 11/3/06, Alessandro Sala <[EMAIL PROTECTED]> wrote:
Hi Sebastian,
it seems nobody else have better ideas about how to dynamically load
scripts reliably in IE6 without using document.write().
If you don't have other objections then, I'm willing to commit my
solution (insertion by DOM + XMLHttpRequest workaround for IE6),
together with the previously mentioned changes to tagname handling for
XHTML compatibility, so that it can undergo extensive testing by the
community.
Cheers,
Alessandro
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
