Easy Tutorial
❮ Misc Deferred Notify Jquery Plugin Tooltip ❯

jQuery queue() Method

jQuery Effects Methods

Example

Display the length of the queue for a <span> element:


Definition and Usage

The queue() method shows the queue of functions to be executed on the selected elements.

A queue is one or more functions waiting to run.

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

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


Syntax

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

Try it - Examples

Using queue-related methods together

Calculate the length of the queue + loop through the queue


jQuery Effects Methods

❮ Misc Deferred Notify Jquery Plugin Tooltip ❯