Skip to content

Instantly share code, notes, and snippets.

@Kcko
Created April 4, 2014 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kcko/9970087 to your computer and use it in GitHub Desktop.
Save Kcko/9970087 to your computer and use it in GitHub Desktop.
Jquery - conditional load
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.11.0.min.js" type="text/javascript"><\/script>')</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment