views:

42

answers:

1

dear all.. i'm new to ajax timer, since someone tell me to use it for make my page can auto refresh. can you tell how to use it for my jquery page?

+1  A: 

I don't quite get you but you can refresh a page every 4 seconds with javascript like this,

setTimeout(function(){
    window.location = window.location.href;
},4000)​;

or via html using meta tags like this,

<meta http-equiv="refresh" content="4">
Reigel
@reigel: just make a little change at meta i can autorefresh?
klox
no, add that another meta
Reigel
double meta in one page? give me an example,please.
klox
how about reading [this](http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479551/Reloading-The-Page.htm)
Reigel