You can load a js file with the following html:
<script type="text/javascript" src="script.js"></script>
I was wondering if you could the same but than from within a js file in stead of in the html. So I mean something like the following:
page.html:
...
<script type="text/javascript" src="script.js"></script>
...
And then in script.js:
include("otherscript.js");
include("secondscript.js");
Does somebody know some javascript function like that exists?
Thanks.
























Reply With Quote
