Skip to content

Instantly share code, notes, and snippets.

@Juraci
Created May 9, 2014 00:33
Show Gist options
  • Save Juraci/8c09f017bb49d3b0e620 to your computer and use it in GitHub Desktop.
Save Juraci/8c09f017bb49d3b0e620 to your computer and use it in GitHub Desktop.
1. var script=document.createElement('script');
2. script.setAttribute("src", "http://code.jquery.com/jquery-latest.min.js");
3. var head = document.getElementsByTagName('head')[0];
4. head.appendChild(script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment