2009-10-29 21 views

回答

6
<asp:LinkButton ID="Btn_RemoveContractPeriod" Text="Remove" runat="server" OnClientClick="return confirm('Message')"/> 
+0

但如何做,然後我把它掛起來,以便確認回傳後,並調用服務器端的代碼? – 2009-10-29 17:47:57

+0

如果confirm函數返回false,則不會調用__doPostback。否則,點擊事件會提高。 – 2009-10-29 18:16:59