heloo everyone... i have a problem about my site.. i want to refresh my page every 60 seconds. so how do i can do that... i can refresh that by clicking the "refresh this page"... <a href="JavaScript:location.reload(true);"> Refresh this page </a> but i don't know how to set the time... anyone can help....please,,,, thanks....
Put this somewhere on your page... <script type="text/javascript"> setTimeout("location.reload(true)") </script> BTW. You could use instead: setTimeout("location=location") which is a bit funnier but still works.
Simplest way I think we can do is to use the <meta> tag More info: http://en.wikipedia.org/wiki/Meta_refresh
You will need to set a time out each time the page loads. use something like: onload=init(); function init() { setTimeout(fucntion() { document.location = document.location.href; },1000); } Adjust the length of the timeout to suit your needs.