怎么在后台javaservlet代码里弹出警示框,或者输入javascript代码
this.Response.Write("<script>alert('发表成功!');window.opener.location.href=window.opener...
this.Response.Write("<script>alert('发表成功!');window.opener.location.href=window.opener.location.href;</script>");
this.Response.Write("<script>");
this.Response.Write("{top.opener =null;top.close();}");
this.Response.Write("</script>");
我看网上这么写的,但是会报错 展开
this.Response.Write("<script>");
this.Response.Write("{top.opener =null;top.close();}");
this.Response.Write("</script>");
我看网上这么写的,但是会报错 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询