Jquery function not working in IE

I am trying to run a jQuery function in IE7. It works fine on Firefox and Safari. Now I tried to debug, and even the simplest function doesnโ€™t work in IE, so I think this is the problem of the whole call.

<script src="js/jquery.js" type="application/javascript"></script>
<script type="application/javascript">
    $(document).ready(function(){
        alert('start in IE');
        fmmovement();
});
            </script>

Entire website script http://project.formplusmedia.de/redesign

Is there any trick to run this feature in the mooring Internet Explorer? Hope someone can help me, thanks in advance.

welcomes

h-man24

+3
source share
5 answers

in your script block, change the value of your type to read:

<script type="text/javascript">

should fix it :)

+9
source

, mime, Javascript.

application/javascript. , , , text/javascript.

. text/javscript, .

+2

Internet Explorer /javascript. text/javascript.

+1

IE7 "application/javascript" script. "text/javascript" IE 6 7.

0

?

script.js (<script src="js/script.js" type="application/javascript">) jquery.js.

-1

Source: https://habr.com/ru/post/1717714/


All Articles