求解决一下问题

jiang54 2005-10-12 01:15:55
代码如下!~
<!--#include file="main.asp"-->
<html>
<head>
<meta http-equiv="refresh" content="5;url=main.asp">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href=site.css rel=stylesheet>
</head>

<body>

<p> </p>
<table border="0" width="450" align=center>
<tr>
<td width="100%"><b>操作结果</b></td>
</tr>
<tr>
<td width="100%">
<hr size="1">
</td>
</tr>
<tr>
<td width="100%"><font color="#FF0000">操作成功!</font><BR>系统将在5面种后自动返回!</td>
</tr>
<tr>
<td width="100%"> </td>
</tr>
</table>
</body>
</html>


怎样使返回界面返回到上一页!~相当于IE上面的后退功能!~
...全文
99 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuanrong 2005-10-12
  • 打赏
  • 举报
回复
在<head>中加入以下一行

<meta http-equiv=refresh content=3;url=ShowPost.asp>

content是时间,秒为单位

url是指定时间后转向的页面
fennifang 2005-10-12
  • 打赏
  • 举报
回复
<input type="button" value="返回" onclick="javascript:window.history.back(-1)">
yelanne 2005-10-12
  • 打赏
  • 举报
回复
response.write "<script>history.back();</script>"

28,391

社区成员

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

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