jQuery.dequeue()S2C Home « Utilities « jQuery.dequeue()
Queue execution.
Description
The jQuery.dequeue() jQuery Data utility method, executes the next function on the queue for the specified element.
Shorthand version $.dequeue()
- The
jQuery.dequeue()method is a low-level method which we are showing for completeness. - We suggest using the
.queue()and.dequeue()methods for queue functionality.
Syntax
| Signature | Description |
|---|---|
| jQuery.dequeue( element [, queueName] ) | Execute the next function on the queue for the specified element, optionally passing a queue name. |
Parameters
| Parameter | Description | Type |
|---|---|---|
| element | A DOM element from which to remove and execute the queued function. | Element |
| queueName | A string containing the name of the queue. Defaults to 'fx', which is the standard effects queue. | String |