Created
August 14, 2011 06:42
-
-
Save kenu/1144647 to your computer and use it in GitHub Desktop.
javascript file loading
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
function loadJQuery() { | |
var oScript = document.createElement("script"); | |
oScript.type = "text/javascript"; | |
oScript.charset = "utf-8"; | |
oScript.src = "http://code.jquery.com/jquery-1.6.2.min.js"; | |
document.getElementsByTagName("head")[0].appendChild(oScript); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment