jQuery clearQueue() Method

Last Updated Jul 21, 2015, 12:00:06 PM





jQuery clearQueue() Method

The jQuery clearQueue() method is used to remove all items from the queue of elements that have not yet been run. Note that when a function has started to run, it runs until it is completed.

Syntax

jQuery clearQueue() method takes one optional parameter queue name.

Here is an example how to usejQuery clearQueue()

Example Output
jquery clear queue method
Try It Now

Other Advanced jQuery Effects you might want to learn

jQuery Effects

jQuery Basic Effects

jQuery Fading Effects

jQuery Sliding Effects

jQuery Custom Effects

Sources and Credits

The content and methods in the tutorial has been referred and updated with jQuery API and The jQuery Foundation

Last Updated Jul 21, 2015, 12:00:06 PM