1.如何在用javascript:history.back();返回后自动刷新
如何在用javascript:history.back();返回后自动刷新
评论信息或评论表单在同一个页面中,源码但是天空黄网站源码价格alert发表成功后源码天空
,返回上一页时却无法自动刷新,源码php招聘系统 源码只有按了刷新菜单后才能显示出来新发表的天空空冥诀源码评论。
提交评论的源码网络u盘 源码代码如下:[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页的天空开头,再点后退,就会强制刷新..
源码