theDeSilva.com Andrew de Silva

JavaScript Timers

August 6th, 2009 · No Comments · Javascript

JavaScript provides setTimeout(), clearTimeout() , setInterval() and clearInterval() for your javascript timer functions which allows you to run a piece of Javascript code at some point in the future. Here are some explanation of the functions. setTimeout ( expression, timeout ); setTimeout() returns a numeric timeout ID that can be used to track the timeout. [...]

[Read more →]

Tags:····