PDA

View Full Version : loading javascript with javascrip


sirap
11-20-2002, 03:34 PM
<script language="JavaScript">
document.write("<script src=\"test1.js\"></script>");
</script>


seems that I cant make it to work. the file are there so thats not the problem.

thanks in advance, sirap

beetle
11-20-2002, 04:13 PM
<script language="JavaScript">
document.write('<scr'+'ipt src="test1.js"></scr'+'ipt>');
</script>

sirap
11-20-2002, 04:16 PM
thanks for the help! :)

sirap.