ASP.net按钮提交前执行javascript

here is the code...
<script language=“javascript“>
function doSomething()
{   // 执行自己的javascript   // 继续提交   this.click();}
</script>
<asp:button onmousedown=“doSomething()“ id=“someButton” Text="提交" runat="server">
</asp:button>
posted on 2006-11-21 21:37  JIN Weijie  阅读(1168)  评论(0编辑  收藏  举报