0

之后我的 MVC4 站点无法在 IE8 上运行,我更新了 Jquery 2.0.2。它在 IE 10 和 chrome 和 FF 中运行良好。

我在 _layout.cshtml 中包含了以下代码。仍然无法正常工作

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

解决方案是什么?

4

1 回答 1

2

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

来源:www.jquery.com

http://blog.jquery.com/2013/04/18/jquery-2-0-released/

于 2013-07-19T18:25:57.543 回答