.NET?2.0asp.net?(VB)
<asp:DropDownList ID="ddlStpId" runat="server" AutoPostBack="true" ></asp:DropDownList>
在這個DDL的SelectedIndexChanged事件,實際被觸發之前,怎么先經過JavaScript的confirm對話框的判斷?
在ddlStpId里寫onchange="return remind_update();" 導致的結果是?SelectedIndexChanged事件無論如何都不會被調用了。
“確定”才執行SelectedIndexChanged事件,“取消”就不執行SelectedIndexChanged事件。
怎么在DDL的SelectedIndexChanged事件,實際被觸發之前,先要經過confirm的判斷?
MYYA
2018-12-06 17:11:50