setInterval doesn't seems to work at all
Hi
I have something like
Interval_ID = setInterval ( "DoSomething()", 7000 ); // runs every 7 seconds
function DoSomething()
{
// my actions
}
DoSomething never gets called… why?
2 Answers
-
Accepted Answer
try this:
Interval_ID = setInterval(function() { // actions } , 7000 ); // runs every 7 seconds
-
Thanks! it works now!