X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

jQuery finish() Method

jQuery Effect Methods jQuery Effect Methods

Example

Finish the currently running animation:

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

Try it yourself »

Definition and Usage

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

This method is similar to the .stop(true,true) method, except that finish() also causes the CSS property of all queued animations to stop.


Syntax

$(selector).finish(queueName)

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


jQuery Effect Methods jQuery Effect Methods


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook