Forum Moderators: open

Message Too Old, No Replies

Laoding dynamic script

urgent help

         

knives

8:11 am on Aug 30, 2005 (gmt 0)

10+ Year Member



Guys how i can load the script dynamically

this code it not working i don't know why

function loadScript(){
var myScript, str="sdf", path;

myScript=document.createElement("script");
myScript.src="Functions.js";
myScript.type="text/javascipt";
myScript.lang="javascript";
//document.body.appendChild(myScript);
document.getElementById("index").appendChild(myScript);

}

i really need your help

Bernard Marx

8:21 am on Aug 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



myScript.type="text/javascript";

(may be responsible)

Don_Hoagie

8:03 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



you spelled 'loading' wrong as well, in the subject of your post.

Your fast fingers appear to be your downfall... welcome to my world.

scipt-a-dee-doo-daa