jquery delay

79

jquery delay -

setTimeout(
  function() 
  {
    //do something special
  }, 5000);

jquery delay -

$( "#foo" ).slideUp( 300 ).delay( 800 ).fadeIn( 400 );

jquery delay to call function -

 $(this).delay(1000).queue(function() {

     // your Code | Function here
     
     $(this).dequeue();
  
  });

Comments

Submit
0 Comments