jQuery clearQueue() Method
jQuery clearQueue() Method
The clearQueue() method is used to remove all those items from the queue that have not yet been run. We can remove any queued function with it.
Syntax:-
Its syntax is:- $(selector).clearQueue(queueName);
Further Explanation:-
Parameter | Description |
---|---|
queueName | Optional. Specifies the name of the queue |