i’m currently have a problem by using the SetTimeOut function.
The thing is that i need to use it by passing a parameter, but it didn’t work…
Here is the code :
function RSSChecker(dMObject)
{
if (dMObject)
{
alert('Refresh');
window.setTimeout(RSSChecker(dMObject), 10000);
}
}
Any ideas?
Another approach would be to wrap the inner call in an anonymous function that invokes your function. So that you have:-