关闭页面不弹出提示框

--关闭页面不弹出提示框

Response.Write("<script>alert('您无权操作!');window.opener=null;window.open('','_self');window.close();</script>");

--点击alert确定后   跳转页面

Response.Write("<script>alert('该名已经存在!');window.location.href='WebForm2.aspx'</script>");

posted on 2011-05-19 14:06  Paste  阅读(178)  评论(0编辑  收藏  举报

导航