1.如何在用javascript:history.back();返回后自动刷新
如何在用javascript:history.back();返回后自动刷新
评论信息或评论表单在同一个页面中,源码但是天空淘口令网页源码alert发表成功后源码天空
,返回上一页时却无法自动刷新,源码首页动态源码只有按了刷新菜单后才能显示出来新发表的天空盗qqhtml源码评论。
提交评论的源码购物 网站 源码代码如下:[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('评论提交成功!天空av资源码');" & 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页的天空开头,再点后退,就会强制刷新..
源码2024-11-30 07:27
2024-11-30 06:20
2024-11-30 06:01
2024-11-30 05:55
2024-11-30 05:37
2024-11-30 05:25