.stop()

Stop the currently running animation on the matched elements.

Syntax

.stop([clearQueue][, jumpToEnd])

Parameters

clearQueue (optional)
A Boolean(Defaults to false) indicating whether to remove queued animation as well.
jumpToEnd (optional)
A Boolean(Defaults to false) indicating whether to complete the current animation immediately.

Return value

The jQuery object, for chaining purposes.

Description

When .stop() is called on an element, the currently running animation is stopped.

Home 
  JavaScript Book 
    jQuery  

Effect:
  1. jQuery Effect
  2. .animate()
  3. .css() does animation
  4. .clearQueue()
  5. .delay()
  6. .dequeue()
  7. $.extend()
  8. .fadeIn()
  9. .fadeOut()
  10. .fadeTo()
  11. .hide()
  12. .queue()
  13. .show()
  14. .slideDown()
  15. slideToggle
  16. .slideUp()
  17. .stop()
  18. .toggle()