Code
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form2;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
html中引用代码如:
<a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')"
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form2;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
html中引用代码如:
<a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')"