Skip to content

Instantly share code, notes, and snippets.

@ekinertac
Created June 15, 2012 09:33
Show Gist options
  • Save ekinertac/2935616 to your computer and use it in GitHub Desktop.
Save ekinertac/2935616 to your computer and use it in GitHub Desktop.
Load Async Script
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//jqery.com/latest.jquery.min.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'jquery));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment