Easy Tutorial
❮ Jquery Fade Sel Input Button ❯

jQuery finish() Method

jQuery Effects Methods

Example

Complete the currently running animation:

$("#complete").click(function(){
    $("div").finish();
});

Definition and Usage

The finish() method stops the currently running animation, removes all queued animations, and completes all animations for the selected elements.

This method is similar to .stop(true, true), but finish() also causes all queued animations' CSS properties to stop.


Syntax

Parameter Description
queueName Optional. Specifies the name of the queue to stop animations from.

jQuery Effects Methods

❮ Jquery Fade Sel Input Button ❯