jQuery Stop Effect

tutorial and example
tutorial and example

The jQuery stop() method is used to stop the jQuery animation or effect before it is finished.

The jQuery stop() method works for all jQuery effects like: custom animations, fading and sliding.

Syntax:

stopAll: The optional stopAll Boolean parameter is used to specify whether the animation queue should be cleared or not.

goToEnd: The goToEnd Boolean parameter is optional and it is used to specify whether the current animation immediately complete.

Example:

Try Now