Easy Tutorial
❮ Traversing Children Misc Get ❯

jQuery dequeue() Method

jQuery Effects Methods

Example

Remove the next function from the queue, then execute the function:


Definition and Usage

The dequeue() method removes the next function from the queue, then executes the function.

A queue is one or more functions waiting to run.

The dequeue() method is typically used in conjunction with the queue() method.

An element can have several queues. Most often it has only one, the "fx" queue, which is the default jQuery queue.

Note: You should ensure that the dequeue() method is called after adding a function with queue(), so that the process can continue.


Syntax

Parameter Description
queueName Optional. Specifies the name of the queue. Default is "fx", the standard effects queue.

Try it - Example

Using Queue-related Methods Together


jQuery Effects Methods

❮ Traversing Children Misc Get ❯