David Harrison
04-23-2003, 12:24 PM
I have a .js file, and it's loaded on every page of my site, however on 1 of my pages I want to load one of two other .js files depending on something or other earlier on, and then I have a bit more script that I want on the end after the one of two .js files.
What I did was had a start.js file loaded, and then on the page itself I chose one of the two other .js files and then I loaded end.js .
How can I load a .js file inside a .js file so that on the page I only need to tell it to load 1 script?
If you want me to try and make myself a bit clearer ask me, because I don't know if what I have written makes sense to anyone else but me.
What I did was had a start.js file loaded, and then on the page itself I chose one of the two other .js files and then I loaded end.js .
How can I load a .js file inside a .js file so that on the page I only need to tell it to load 1 script?
If you want me to try and make myself a bit clearer ask me, because I don't know if what I have written makes sense to anyone else but me.