Skip to content

Instantly share code, notes, and snippets.

@fredyang
Created April 2, 2012 17:20
Show Gist options
  • Save fredyang/2285344 to your computer and use it in GitHub Desktop.
Save fredyang/2285344 to your computer and use it in GitHub Desktop.
add script
var script = document.createElement( 'script' );
script.src = "http://code.jquery.com/jquery-latest.js";
document.head.appendChild( script );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment