.clearQueue()The .clearQueue() method in jQuery is used to remove from the queue all items that have not yet been run.
.clearQueue() syntax.clearQueue([queueName]);
queueName is the name of the effects queue.
.clearQueue() ExamplesStop the animation
$("#stop").click(function(){
$("#block").clearQueue();
});
