日期:2014-05-17  浏览次数:20424 次

急!急!急!为什么我的IE9不自动加载NET的__doPostBack方法
别人的电脑进入相同网页时都是加载此方法。为何我的机器进入该页面就没有呢。求高人指点

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>

------解决方案--------------------
是眼镜哥哥人品的问题,哈哈