jQuery: SetTimeout
25 January 2010
29 views
No Comment
It is very easy to execute some code after a specified time-interval, i.e. setting some time interval between the code. We can use the setTimeout function.
Here is the code:
setTimeout(function(){
alert("hello");
}, 1000);
The basic structure is setTimeout(function, time in ms)
Cheers,
Popularity: 3%
Related posts:


Leave your response!