Use jQuery .clearQueue() to clear all queued items

Syntax and Description

.clearQueue([queueName])

removes from the queue all items that have not yet been run.

queueName (optional)

a string containing the name of the queue. Defaults to fx, the standard effects queue.

Its return value is the jQuery object, for chaining purposes.





















Home »
  jQuery »
    jQuery Tutorial »




Basics
Selector
DOM
Event
Effect
Utilities