Q820 How can I include a 2nd *.js source file (file2.js) from within the 1st *.js source file (file1.js)?
You are here: irt.org | FAQ | JavaScript | Source | Q820 [ previous next ]
In file1.js use:
<script language="JavaScript"><!--
document.write('<script src="file-02.js"><\/' + script>');
//--></script>Feedback on 'Q820 How can I include a 2nd *.js source file (file2.js) from within the 1st *.js source file (file1.js)?'
©2013 Martin Webb 