Created
June 28, 2013 14:43
-
-
Save joladev/5885207 to your computer and use it in GitHub Desktop.
Insert jQuery into current page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Insert jQuery into current page | |
var s = document.createElement("script"); | |
s.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"; | |
document.getElementsByTagName("head")[0].appendChild(s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment