.net 执行页面跳转弹窗提示,刷新代码
1.
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script language=javascript> alert('恭喜您已成为XX平台的会员!');location.href='main.aspx' </script>");
2.
Response.Write("<script> alert('添加成功!');window.location.href=window.location.href; </script> ");

浙公网安备 33010602011771号