I'm using this code but it only runs the function once
is there a way to have this function keep running every minute?Code:<body onLoad="setTimeout(function(){ajaxFunctionas('34');}, 60000)">
I'm using this code but it only runs the function once
is there a way to have this function keep running every minute?Code:<body onLoad="setTimeout(function(){ajaxFunctionas('34');}, 60000)">
setInterval did it!
setTimeout should work, but it's a one time event-- you could put that in a loop (so it sets a new timeout each time you end one). setInterval should be easier. Glad you found it.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks