1.如何在用javascript:history.back();返回后自动刷新
如何在用javascript:history.back();返回后自动刷新
评论信息或评论表单在同一个页面中,源码但是天空monotouch源码分析alert发表成功后源码天空
,返回上一页时却无法自动刷新,源码PHP源码时代只有按了刷新菜单后才能显示出来新发表的天空paysapi平台源码评论。
提交评论的源码红利麻将源码代码如下:[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('评论提交成功!天空android源码书');" & 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页的天空开头,再点后退,就会强制刷新..
源码