Skip to content

Instantly share code, notes, and snippets.

@tregoning
Created August 23, 2010 19:08
Show Gist options
  • Save tregoning/546105 to your computer and use it in GitHub Desktop.
Save tregoning/546105 to your computer and use it in GitHub Desktop.
(function() {
var loadScript = function(url){
var script = document.createElement('script');
script.src = url;
script.type = 'text/javascript';
document.getElementsByTagName("HEAD")[0].appendChild(script);
};
//loadScript('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment