jQuery.dequeue()The jQuery.dequeue() method in jQuery is a low-level method refers to .dequeue().They are used to execute the next function on the queue for the matched element.
jQuery.dequeue() syntaxjQuery.dequeue(element[,queueName]);
element is a DOM element
queueName is the name of the effects queue.
jQuery.dequeue() ExamplesUse dequeue to end a custom queue function
$("div").queue(function () {
$(this).toggleClass("red");
jQuery.dequeue(this); // this is the DOM element
});
