Revision: 27940
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 27, 2010 23:45 by Carolyne
Initial Code
function IncludeJavaScript(jsFile) { document.write('<script type="text/javascript" src="' + jsFile + '"></scr' + 'ipt>'); } IncludeJavaScript('my_2nd_file.js');
Initial URL
http://www.cryer.co.uk/resources/javascript/script17_include_js_from_js.htm
Initial Description
Get one javascript file to include other required javascript files. Usefull when externalising blocks of code from html (Found at linked URL)
Initial Title
Include another JavaScript file
Initial Tags
Initial Language
JavaScript