Javatpoint Logo
Javatpoint Logo

jQuery dequeue() method

The dequeue() method in jQuery is used to remove the next function from the queue, and then it will execute the function. There will be several functions in a queue waiting to run; the dequeue() method will remove the function on the top and execute that function.

The dequeue() method is used together with the queue() method.


The commonly used syntax of the dequeue() function is given below.

The dequeue() method accepts a single optional parameter, "name", mentioned in the above syntax. This parameter is used to specify the name of the queue.

Now, let's see an illustration to understand the use of the dequeue() method.


Test it Now


After the execution of the above code, the output will be -

jQuery dequeue() method

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA