ExampleStop the remaining functions in the queue:
Try it yourself » |
Stop all functions in the queue that has not yet been executed.
Unlike the stop() method (that only works with animations), the clearQueue() can remove any queued function.
$(selector).stop(queueName) |
Parameter | Description |
---|---|
queueName | Optional. Specifies the name of the queue to stop. Default is "fx", the standard effects cure. |