here is the code…
在提交前执行一段js
<script language=“javascript“>
function doSomething()
{ // 执行自己的javascript // 继续提交 this.click();}
</script>
<asp:button onmousedown=“doSomething()“ id=“someButton” Text="提交" runat="server">
</asp:button>
here is the code…
在提交前执行一段js
<script language=“javascript“>
function doSomething()
{ // 执行自己的javascript // 继续提交 this.click();}
</script>
<asp:button onmousedown=“doSomething()“ id=“someButton” Text="提交" runat="server">
</asp:button>