jQuery ClearQueue() Method
ClearQueue() function mainly use for stop all animated function in the queue. ClearQueue() function only work with animate() function.
Syntax
$(selector).clearQueue(queueName) |
Example
In this example when you will click on start then animation will be start as soon as you click on stop then animation will be stoped.

Join the conversation! Your thoughts help the community grow.