Last active
January 4, 2016 03:59
-
-
Save viko16/8565479 to your computer and use it in GitHub Desktop.
在没有jQuery的环境下引入jQuery支持。 #javascript
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
//引入jquery | |
var j = document.createElement('script'); | |
j.setAttribute('src', 'http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js'); | |
document.body.appendChild(j); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment