Skip to content

Instantly share code, notes, and snippets.

@alantsai
Created March 30, 2016 03:25
Show Gist options
  • Save alantsai/2a99bf719ac62a99d16001ec81ef7804 to your computer and use it in GitHub Desktop.
Save alantsai/2a99bf719ac62a99d16001ec81ef7804 to your computer and use it in GitHub Desktop.
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment