IE8中不支持JQuery

Hou*_*dri 3 jquery internet-explorer cross-browser

一直有问题IE.

在我的网页中,我在本地JQuery包括:

<script type="text/javascript" src="../jsp/jquery-2.0.2.min.js"></script>
<script type="text/javascript" src="../jsp/jquery-ui-1.10.3.custom.js"></script>
<script type="text/javascript" src="../jsp/init.js"></script>
<script type="text/javascript" src="../jsp/tajweed.js"></script>
<script type="text/javascript" src="../jsp/tajweed-tools.js"></script>  
Run Code Online (Sandbox Code Playgroud)

但是,它给出了这些错误:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
Timestamp: Thu, 25 Jul 2013 10:17:38 UTC


Message: 'JSON' is undefined
Line: 4
Char: 562
Code: 0
URI: http://localhost/play/jsp/jquery-2.0.2.min.js


Message: 'jQuery' is undefined
Line: 6
Char: 1
Code: 0
URI: http://localhost/play/jsp/jquery-ui-1.10.3.custom.js


Message: Object expected
Line: 37
Char: 1
Code: 0
URI: http://localhost/play/jsp/init.js


Message: Object expected
Line: 2
Char: 1
Code: 0
URI: http://localhost/play/jsp/tajweed.js
Run Code Online (Sandbox Code Playgroud)

我搜索了一些主题,如TOPIC 1TOPIC 2但是徒劳无功.

Den*_*ret 16

Jquery 2.x明确不支持IE8.

如果要支持此浏览器,请使用1.x版本.

下载页面:

jQuery 2.x与jQuery 1.x具有相同的API,但不支持Internet Explorer 6,7或8.