Home » Javascript25 January 2010

Javascript: SetTimeout

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:

The basic structure is setTimeout(function, time in ms)

Hope it helps. Thanks.

Javascript

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Sandesh Daddi

    This is Javascript’s own function and not a jquery’s function….thankssandesh daddi

  • friend_sandesh

    I agree with sandesh….this is a core javascript function and not jQuery’s function…….Please don’t misguide people…

  • Updated the post. Thanks.