jQuery.getScript()
/* jsFirstMain.js */ function inc(filename) { var body = document.getElementsByTagName('body').item(0); script = document.createElement('script'); script.src = filename; script.type = 'text/javascript'; body.appendChild(script) } //example inc("jsSecondInternal.js");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)