Wednesday, November 11, 2009

SetTimeOut()

Hi ,

Settimeout() function is used to resedule a function after a time period.

function RefreshBusComp()
{
this.InvokeMethod("RefreshApplet()");
Settimeout("RefreshBusComp()",2000);
}

Here settimeout() schedule itself after every 2 second.

Danish

No comments:

Post a Comment