Skip to content

Instantly share code, notes, and snippets.

@logeshpaul
Created May 10, 2012 09:42
Show Gist options
  • Save logeshpaul/2652168 to your computer and use it in GitHub Desktop.
Save logeshpaul/2652168 to your computer and use it in GitHub Desktop.
Js: jQuery fallback
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='/scripts/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment