Skip to content

Instantly share code, notes, and snippets.

@whatever
Created April 7, 2013 15:56
Show Gist options
  • Save whatever/5331047 to your computer and use it in GitHub Desktop.
Save whatever/5331047 to your computer and use it in GitHub Desktop.
javascipt add file to header
var script = document.createElement("SCRIPT");
script.setAttribute("src", "http://code.jquery.com/jquery-1.9.1.min.js");
document.getElementsByTagName("head")[0].appendChild(script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment