0

我在 IE10 上测试了我的网站。查看源代码 IE 10 不包含某些 ScriptResource.axd 文件。但我复制网站网址并粘贴 chrome 工作正常。

此代码不包括 IE10。(右键单击 -> 查看源代码)

var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
4

1 回答 1

1

出现此类问题的最常见情况是 ASP.NET 无法将浏览器检测为支持 JavaScript。对于 IE10,您应该在开发机器和服务器上安装 KB。请检查您是否拥有它们,这里有详细描述(以及其他一些修复可能性):

于 2013-01-10T09:57:00.947 回答