错误:'theForm._EVENTTARGET'为空或不是对象。这是怎么回事啊,我用360运行又不会出现这问题,用IE运行就出现这个问题

解决方案 »

  1.   

    javascript脚本错误。用脚本调试器调试下。
      

  2.   

    form是否嵌套,只能有一个form 
    var theForm = document.forms['form1']; 
    if (!theForm) { 
        theForm = document.form1; 

    换其他浏览器看看
      

  3.   

    我没有嵌套form啊,只有一个formfunction __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }
    }调试的时候说这句有问题:theForm.__EVENTTARGET.value = eventTarget;