asp.net中的postback方法


  //系统的postback方法         function __doPostBack(eventTarget, eventArgument) {              var theform;              if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {                  theform = document.forms["form1"];              }              else {                  theform = document.forms[0];              }             if (!theform)             {                 theform=document.forms[0];             }             theform.__EVENTTARGET.value = eventTarget.split("$").join(":"); //将$替换成:             theform.__EVENTARGUMENT.value = eventArgument;              theform.submit();          }