finish()
The finish()
method in jQuery is used to stop and remove all animations in the queue,no matter they completed or not.
finish()
syntaxfinish([queueName]);
queueName
is the name of the effects queue.Default is fx
finish()
ExamplesClick the Go button once to start the animation, and then click the other buttons to see how they affect the current and queued animations.