Skip to content

Instantly share code, notes, and snippets.

@lampe
Created April 15, 2015 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lampe/84ae591b639eb1a4d408 to your computer and use it in GitHub Desktop.
Save lampe/84ae591b639eb1a4d408 to your computer and use it in GitHub Desktop.
funtion loadJsFile(filename){
var externalJsFilf=document.createElement('script');
externalJsFilf.setAttribute("type","text/javascript");
externalJsFilf.setAttribute("src", filename);
}
loadJsFile(PathToFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment