1.如何在用javascript:history.back();返回后自动刷新
如何在用javascript:history.back();返回后自动刷新
评论信息或评论表单在同一个页面中,源码但是天空formdata 源码alert发表成功后源码天空
,返回上一页时却无法自动刷新,源码gazebo源码编译安装只有按了刷新菜单后才能显示出来新发表的天空思享bt源码评论。
提交评论的源码类似问卷星源码代码如下:[code]response.write "<script language='javascript'" & chr()
response.write "alert('评论提交成功!');" & Chr()
response.write "window.document.location.href='javascript:onclick=history.go(-1)';"&Chr()
response.write "</script" & Chr()
Response.End[/code]解决方法:response.write "<script language='javascript'" & chr()
response.write "alert('评论提交成功!天空按折扣砍价源码');" & Chr()
response.write "window.document.location.href='这里改成上一页的源码URL地址';"&Chr()
response.write "</script" & Chr()
Response.End
response.write "<script language='javascript'" & chr()
response.write "alert('评论提交成功!');" & Chr()
response.write "window.document.location.href='"&Request.ServerVariables("HTTP_REFERER")&"';"&Chr()
response.write "</script" & Chr()
Response.Endok !后退刷新代码:
[code]<%Response.Expires = -1
Response.cachecontrol = "no-cache"%[/code]放到asp页的天空开头,再点后退,就会强制刷新..
源码