If I want a whole page to reload every N seconds, I would put something like this in the HTML: meta http-equiv=\"refresh\" content=\"5\"
meta http-equiv=\"refresh\" content=\"5\"
Is there a sta
You could use setTimeout or setInterval (the latter is probably best suited to what you want to do).
setInterval(makeRequest, (10 * 1000));
...where makeRequest is a function that reloads some content via AJAX.
makeRequest