jQuery is undefined exception in IE11
internet-explorer-11, jquery
Solution
In IE11, depending on your security settings, access to external CDNs may be blocked.
Thus, you will have to add 2 JQuery URLs, one for (every other browser) and one locally.
// First try loading jQuery from Google's 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>
Reference: https://bugsnag.com/blog/jquery-is-not-defined-cause-solution
Problem
In IE11 I get this exception 'jQuery' is undefined I do not get this error in any other browser. The code that is causing the problem is ``` jQuery(document).ready(function(){ ``` Any one know why is that and what might be causing the problem?