Window setTimeout() Method

Jak
Jak
Member
858 Points
132 Posts

Window setTimeout() Method

Views: 8668
Total Answered: 1
Total Marked As Answer: 0
Posted On: 17-Mar-2015 11:10

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
Teacher
4822 Points
23 Posts
         

Hi,

setTimeout(function () { script here }, time in mili second);

Example:

Display an alert box after 3 seconds (3000 milliseconds):

setTimeout(function () { alert("Hello"); }, 3000);
Posted On: 17-Mar-2015 13:38
 Log In to Chat