javascript监测form是否提交
html代码中:
<a href="bbb.php" target="main" onclick="javascript:return checkherf('bbb');">bbb</a>
asp.net代码中:
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="确认提交" OnClientClick="javascript:return MultiValidator();"></asp:LinkButton>
<a href="bbb.php" target="main" onclick="javascript:return checkherf('bbb');">bbb</a>
asp.net代码中:
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="确认提交" OnClientClick="javascript:return MultiValidator();"></asp:LinkButton>