Thursday, March 6, 2008

javaScript Call function in every 1 sec(or any time period) Sanjeewa sapumana

//javascript
//in milisecond
var intervaltime=1000;
//Call function in every 1000 milisecond (1 sec)
state=setInterval("ProgressBarUpdate()",intervaltime);
//Finish time out
clearTimeout ( timeoutId );

No comments: