Response.Write("window.close();location='javascript:history.go(-1)';
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 00:43:48
Response.Write("window.close();location='javascript:history.go(-1)';
Response.Write("window.close();location='javascript:history.go(-1)';
Response.Write("window.close();location='javascript:history.go(-1)';
关闭了窗口又如何返回上一页呢?
如果非要这么写,正确的写法应该是这样:
Response.Write("window.close();history.go(-1);");