jQuery delay function/method

New jQuery delay() method.

More information and examples of the jQuery delay() function/method. Here is a quick example:

jQuery('#mydiv').attr('value', "Button Text").delay(1500).queue(function() {
alert('button text was changed');
});

Comments

  1. Hi! I really appreciate your post because i found the practicle example for delay function using jquery so i got the idea from it. so Thank you so much

    Reply
  2. I want to toggle the background of “a” tag with a delay.

    $(“#para>a”).css(‘background-image’,’url(“btn_bigtext_down1.png”)’);
    $(“span”).slideUp(3300);
    $(“#para>a”).css(‘background-image’,’url(“btn_bigtext_up1.png”)’);

    above code isnt working fine,PLZ help

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

%d bloggers like this: