关于_dopostback函数
<script type="text/javascript">
<!--
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();
}
}
// -->
</script>
<a id="gvData_ctl03_lnkbtnEdit" class="lnkbtn" href="javascript:__doPostBack('gvData$ctl03$lnkbtnEdit','')">修改</a>
谁能帮我注释下这个_dopostback函数的大概意思,不是很看的懂,汗 --------------------编程问答-------------------- if (!theForm.onsubmit || (theForm.onsubmit() != false))
主要不知道这句话意思和作用,还有 theForm.submit();
--------------------编程问答--------------------
<form id="theform" action="x.aspx" >
<input id="T1" type="text" value="x" >
</form>
意义就是表单提交
将表单里面的提交到theForm.action所设定的页面
补充:.NET技术 , C#