Or you can use setInterval() which repeats it's self more than once
example:
setInterval('reloadPageByA
which calls the function reloadPageByAjax() each minute.
setTimeout('reloadPageByAj
calls the function reloadPageByAjax() after 60 seconds, but then it doesn't call it again after 120, 180, 240 seconds etc.
Main Topics
Browse All Topics





by: TimYatesPosted on 2006-03-21 at 00:33:49ID: 16244807
http://www.geocities.com/m angokun/pr ogramming/ javascript / control_s etTimeout. htm
Like that? (the javascript is in the HTML source of the page)
Tim