JQuery Programmer Question: Download JQuery Programmer PDF

What is the difference between calling stop(true,true) and finish method?

Tweet Share WhatsApp

Answer:

The .finish() method is similar to .stop(true, true) in that it clears the queue and the current animation jumps to its end value. It differs, however, in that .finish() also causes the CSS property of all queued animations to jump to their end values, as well.

Download JQuery Programmer PDF Read All 201 JQuery Programmer Questions
Previous QuestionNext Question
What are the approaches of extracting a query string with regular expressions?Is it possible to get value of multiple CSS properties in single statement?