jQuery.dequeue() JQ Home  <<  Utilities  <<  jQuery.dequeue()

Queue execution.

Description

The jQuery.dequeue() jQuery Data utility method, executes the next function on the queue for the specified element.

Shorthand version $.dequeue()

  • The jQuery.dequeue() method is a low-level method which we are showing for completeness.
  • We suggest using the .queue() and .dequeue() methods for queue functionality.

Syntax

Signature Description
jQuery.dequeue( element [, queueName] )Execute the next function on the queue for the specified element, optionally passing a queue name.

Parameters

Parameter Description Type
elementA DOM element from which to remove and execute the queued function.Element
queueNameA string containing the name of the queue. Defaults to 'fx', which is the standard effects queue.String

Return

undefined.



Related Tutorials

jQuery Intermediate Tutorials - Lesson 10 - jQuery Copy, Data & Type Utilities