【发布时间】:2013-01-10 08:49:09
【问题描述】:
我在 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();
}
}
【问题讨论】:
-
没有问号,没有问题
-
你在以前版本的IE中试过吗?
-
是的,我试过 IE9、IE8 和 IE7。工作正常。
标签: asp.net iis-7 httphandler httpmodule