Last active
December 17, 2015 03:39
-
-
Save freshyill/5545100 to your computer and use it in GitHub Desktop.
So it looks like people are confused about how to fallback from jQuery 2 to 1.9 for IE. Is there any reason why this wouldn't work?
This file contains 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
<!--[if lte IE 8]> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script> | |
<![endif]--> | |
<!--[if gt IE 8]><!--> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/jquery-2.0.0.min.js"><\/script>')</script> | |
<!--<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment