实现弹出对话框,选择“确定”与“取消”的对应操作!

1 实现弹出对话框,选择“确定”与“取消”的对应操作!
2 this.ClientScript.RegisterStartupScript(typeof(string), "alert""if(confirm('您第一登录系统,请修改密码?')==true){location.href='index.aspx?updatepwd=yes';}else{location.href='index.aspx?updatepwd=no';}"true);
posted @ 2011-12-05 15:50  做最好の自己  阅读(584)  评论(0编辑  收藏  举报