Thursday, March 29, 2012

Poping up a window using timers

Hi,

I need to pop up a window 10 mins after a user logs in with some message. how can i do that using timers. please help

thanks

setTimeout("SendMessage()",600000);

function SendMessage(){

alert('message you want to send');

}

The second parameter of setTimeout is the time delay. It is in miliseconds.

0 comments:

Post a Comment