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