怎么样让我提交的数据保存成功后,提示保存成功,并转到我指定的页面去!如:

puter 2006-08-29 05:09:05
response.write "<script LANGUAGE='javascript'>alert('提交成功!');history.go(-1);</script>"
我需要转到index.asp去
...全文
293 4 打赏 收藏 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
jinjuduo 2006-08-29
  • 打赏
  • 举报
回复
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="3;URL=index.asp">
</head>
<body>
<div align="center">保存成功,3秒钟后自动跳转到<a href="index.asp">XXXXX</a></div>
</body>
jerryo 2006-08-29
  • 打赏
  • 举报
回复
楼上正解!
dqzonline 2006-08-29
  • 打赏
  • 举报
回复
sponse.write "<script LANGUAGE='javascript'>alert('提交成功!');window.location.href='index.asp'</script>"

28,402

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧