top button
Flag Notify
Site Registration

How do you stop currently-running animation in JQuery?

+4 votes

How do you stop following in jQuery -

currently-running animation, 
remove all queued animations, and 
complete all animations for the matched elements
posted Jul 23, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

It can be done via calling .stop([clearQueue ] [, jumpToEnd ]) method and by passing both the parameters as true.

answer Jul 31, 2015 by Karthick.c