-
-
Save rajeshpv/9399611 to your computer and use it in GitHub Desktop.
Revisions
-
rajeshpv revised this gist
Mar 6, 2014 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,14 @@ var jq = document.createElement('script'); jq.src = "//code.jquery.com/jquery-latest.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); !function () { var script = document.createElement("script"); script.setAttribute("src", "//code.jquery.com/jquery-2.0.0.min.js"); document.body.appendChild(script); }(); $( "li" ).each(function( index ) { console.log( index + ": " + $( this ).text() ); }); -
iwa4 created this gist
Jul 3, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ !function () { var script = document.createElement("script"); script.setAttribute("src", "//code.jquery.com/jquery-2.0.0.min.js"); document.body.appendChild(script); }();