Created
May 4, 2019 18:27
-
-
Save qWici/fc1b5a93bfc5ab0aa8095e162d1dbaf2 to your computer and use it in GitHub Desktop.
Add jQuery to a third party web site
This file contains 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
function l(u, i) { | |
var d = document; | |
if (!d.getElementById(i)) { | |
var s = d.createElement('script'); | |
s.src = u; | |
s.id = i; | |
d.body.appendChild(s); | |
} | |
} | |
l('//code.jquery.com/jquery-3.2.1.min.js', 'jquery') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment