In IE6, this doesn't execute the contents of file.js:
$('body').append('<script type="text/javascript" src="file.js"></script>');

But this does:
script = document.createElement('script');
script.type = 'text/javascript';
script.src = "file.js";
document.getElementsByTagName("body")[0].appendChild(script)

I've tried a variety of permutations of the parameter to append with no
success. I'm currently using rev543, and also tested with rev501. The
$('body').append(...) version works fine in FF2.

Bug?

--Erik
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to