In IE11, depending on security settings, access to external CDNs may be blocked.
Thus, you will need to add 2 jQuery URLs, one for (any other browser) and one locally.
// First try loading jQuery from Google CDN
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
// Fall back to a local copy of jQuery if the CDN fails
<script>
window.jQuery || document.write('<script src="/js/jquery.min.js"><\/script>')
</script>
Link: https://bugsnag.com/blog/jquery-is-not-defined-cause-solution
source
share