类型:转载 责任编辑:asp.net 日期:2007/05/23
热门软件下载:
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="WebForm1.aspx" id="Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="dDwxOTI0MjI4NTEyOzs+Ap4y0jAdKUSIxywtSZ3oqAeTxY8=" />
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
<FONT face="宋体"><input language="javascript" onclick="__doPostBack(Button1,)" name="Button1" id="Button1" type="button" style="Z-INDEX: 101; LEFT: 392px; WIDTH: 144px; POSITION: absolute; TOP: 96px; HEIGHT: 24px" value="Button" /></FONT></form>
</body>
</HTML>
有哪位高人能够详细的把这段代码解释一下。主要是javascript部份
网友回答: