L
L
Leshiy666132016-01-05 03:00:35
JavaScript
Leshiy66613, 2016-01-05 03:00:35

Why doesn't JQuery work in IE9?

I connect the library and the file with the script

<script type="text/javascript" src="js/jquery-1.8.2.js"></script> <!-- Jquery библиотека -->
  <script type="text/javascript" src="js/common.js"></script>  <!-- Свои Jquery скрипты -->


file contents
$(function(){
alert('да!');
});


Works in all IE and normal browsers except IE9. Can anyone suggest what is the problem?
I tried different libraries, some meta tags that supposedly can reproduce the behavior of IE from earlier versions.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Khokhlov, 2016-01-05
@Leshiy66613

Make sure Compatibility Mode is not enabled.
Add to head:
And make sure that in Tools -> Compatibilily View Settings there is no checkbox "Display Intranet sites in Compatibility View"
Well, a screenshot of the console would be nice, because it displays some errors.

D
Dmitry Pavlov, 2016-01-10
@dmitry_pavlov

Effective January 12, 2016 - Microsoft is ending support for versions of Internet Explorer earlier than 11.
vIhMl9s4Ko8.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question