Created
December 25, 2013 22:25
-
-
Save beratdogan/8127547 to your computer and use it in GitHub Desktop.
Sometimes you'll need jQuery on non-JS pages. In such a situation, you can include jQuery with this code.
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
jq = document.createElement('script'); | |
jq.type = "text/javascript"; | |
jq.src = 'http://code.jquery.com/jquery-1.10.2.min.js'; | |
document.body.appendChild(jq); | |
// try: jQuery and have fun! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment