loveripn 发表于 2007 年 7 月 1 日 13:53:25

请教如何实现提交后,自动刷新本页

请教如何实现提交后,自动刷新本页


比如:在index.html里有个表单
<form action="t1.asp" method="post">
<input type=submit value=提交>
</form>
提交到T1.asp后,
Response.write "<script language='javascript'>" & VbCRlf
Response.write "alert('系统提示\****成功!');" & VbCrlf
Response.write "history.go(-1);" & vbCrlf
Response.write "</script>" & VbCRLF
Response.end

我想要在点”确定“后

自动刷新一下index.html

------
这样也可以
我如何让index.html里的表单框里的内容
在提交后消失。

如果将那个html文件换成一个不固定的文件,如新闻系统生成的******.html文件如何处理呢?


各位帮帮忙哈
页: [1]
查看完整版本: 请教如何实现提交后,自动刷新本页