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.


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.


Try Now 

Pin It on Pinterest

Share This