Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • SetTimeout Function

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 105
    Comment on it

    SetTimeout function is used when you want to execute the code after specific number of milliseconds,

    Syntax: -

    setTimeout(function() {
                              $(".thememessage").html('Code Executed after three second');
                              }, 3000);

    in this peace of code we will execute the code after 3 second, the time it takes as input in milliseconds.

    1 second = 1000 milliseconds

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: