gpt4 book ai didi

jquery - jquery 2.0.2 ie10 中未定义 json

转载 作者:行者123 更新时间:2023-12-01 04:53:04 25 4
gpt4 key购买 nike

我们有一个新的asp.net Web应用程序,并且我们刚刚从google cdn引用了jquery 2.0.2,没有其他代码。当我们运行它时,我们收到 Json undefined 错误。代码已附加。

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>

</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

最佳答案

我遇到了同样的错误(IE10 + Visual Studio 2012),引用 Json2 库或设置 doctype 并不能解决问题。

我通过清除所有 IE10 缓存和浏览历史记录解决了这个问题。

关于jquery - jquery 2.0.2 ie10 中未定义 json,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17338423/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com