Description:
Execute the next function on the queue for the matched element. When jQuery.dequeue() is called, the next function on the queue is removed from the queue, and then executed.
Syntax
$(selector).dequeue( element
Clicking onย “Start Queue with Dequeue” button, the “divBox” start withย animations and skip the execution of the queue function when it reach .dequeue() method. We need to use dequeue() method ย with queue() elseย the queue will not be closed and you will get undesired result.
element
ย Need to secify the DOM element to remove and execute a queued function.
queueName
It containย the name of the queue. Defaults it will beย
fx
.Example:
Output:
Note:
Leave A Comment