Created
July 30, 2013 16:18
-
-
Save csharpforevermore/6114441 to your computer and use it in GitHub Desktop.
In those cases where you want to use jQuery on a site, to which you possibly do not have the source code. Source: http://stackoverflow.com/questions/7474354/include-jquery-in-the-javascript-console
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
var jq = document.createElement('script'); | |
jq.src = "http://code.jquery.com/jquery-latest.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
jQuery.noConflict(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment