var theform = document.forms['form1'];
if (!theform) {
theform = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
__doPostBack
最新推荐文章于 2019-06-19 20:59:13 发布
本文深入探讨了ASP.NET中PostBack机制的工作原理,包括如何通过客户端脚本与服务器端控件交互来触发页面回发的过程。详细解释了关键变量__EVENTTARGET和__EVENTARGUMENT的作用及其实现方式。
2909

被折叠的 条评论
为什么被折叠?



