Home > DeveloperSection > Forums > problem in using timer
sourabh kumar
sourabh kumar

Total Post:6

Points:42
Posted on    March-01-2011 2:48 AM

 JavaScript JavaScript 
Ratings:


 1 Reply(s)
 1164  View(s)
Rate this:
how to use the timer in javascript?


Amit Singh

Total Post:103

Points:721
Posted on    March-01-2011 4:11 AM

In JavaScript, we use the following method to implement the timer functionality
1)setTimeout("functionName",delay);
note:
give the fuction name and delay is milliseconds value. and its return type is timerid.
2)closeTimeout();
3)setIntervalTime("functionName", delay)


Don't want to miss updates? Please click the below button!

Follow MindStick