Need Assistance?

support@tutorialshub.in

jQuery Effects and Animations

stop() Method

ADVERTISEMENT
jQuery Free Lesson
5 min read
ADVERTISEMENT

The stop() method is used to stop running or queued animations.

It is useful when multiple animations are triggered repeatedly.

Without stop(), animations may stack and cause unexpected behavior.

This stops the current animation immediately.

Passing true clears the animation queue.

This stops the animation and jumps to the final state.

stop() Method Notes:

  • Prevents animation stacking
  • Improves performance
  • Useful in hover animations
  • Supports queue control
ADVERTISEMENT