Hey there,
I've been recently working on a javascript which consists of, in essence, a loop which document.write's a bunch of <.script language="javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"source.js><./script> tags into a table. However, I've found that when the code of the included javascript document.write's, the output appears on the bottom of the page instead of within the tables that are being printed along with the src= <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/tags">http://www.webdeveloper.com/forum/archi ... x.php/tags</a><!-- m -->.
If I replace the document.write("<script lang... src=..." etc., with a simple document.write("hello!"), the text appears where it should.
Is there some odd property of such included scripts that I should worry about? Is there anything I can do to fix this?
Thank you very much,
- EvilGeek
I've been recently working on a javascript which consists of, in essence, a loop which document.write's a bunch of <.script language="javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"source.js><./script> tags into a table. However, I've found that when the code of the included javascript document.write's, the output appears on the bottom of the page instead of within the tables that are being printed along with the src= <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/tags">http://www.webdeveloper.com/forum/archi ... x.php/tags</a><!-- m -->.
If I replace the document.write("<script lang... src=..." etc., with a simple document.write("hello!"), the text appears where it should.
Is there some odd property of such included scripts that I should worry about? Is there anything I can do to fix this?
Thank you very much,
- EvilGeek