1
如何在我的代碼下面有確認按鈕? (是 - 取消)確認按鈕中的JavaScript功能?
ClientScript.RegisterStartupScript(typeof(Page), "key", "<script>alert('There is an exiting Insurance code. Are you sure do you want to Edit it?');</script>");
我想這一個,但它不工作..
ClientScript.RegisterStartupScript(typeof(Page), "key", "if(!confirm('There is an existing insurance code . Do you want to edit?'))return false;");
的感謝!
警報/確認/提示窗口上的負載是可怕的。請不要使用它們。 – ThiefMaster 2011-04-27 06:12:41