我怎样才能一次刷新我的页面? [英] how can i refresh my page just one time??

查看:107
本文介绍了我怎样才能一次刷新我的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要只刷新一次页面的代码,我不希望它从缓存中读取.
我尝试了每种情况,但它们都无限循环刷新页面.
有没有一种方法可以刷新一次????

i need a code that refresh the page just one time, i dont want it to read from cache.
i tried every case but they all refresh the page in an infinite loop.
is there a way to refresh it only once???

推荐答案

我现在可以想到的一种方法是...使用Javascript.
您需要使用setTimeout .

对于在指定延迟后触发的 setTimeout ,仅一次!:
http://www.howtocreate.co.uk/tutorials/javascript/timers [ ^ ]
One of the ways i can think of right now is... using Javascript for it.
You would need to use setTimeout .

For setTimeout that fires after the specified delay, only once!:
http://www.howtocreate.co.uk/tutorials/javascript/timers[^]


想要使用javascript刷新页面?您的问题对我不清楚.
Do you want to refesh the page using javascript?? Your question is not clear to me.


以任何可能的方式使用JavaScript进行任何操作
我尝试使用setTimer,但是问题是页面加载完毕后就需要它.
any possible way javascript anything
i tried using setTimer, but the problem is it that i need it once the page is loaded and thats it.


这篇关于我怎样才能一次刷新我的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆