Tag Archives: Timer functions

Set timeout and Clear timeout in Javascript

Timing events in javascript helps to execute a function, after a specified time interval. setTimeout() – Executes a code some time in the future. clearTimeout() – Cancel an existing setTimeout event. Here is sample code snippet for a Javascript counter … Continue reading

Posted in Javascript | Tagged , , , , | Leave a comment