![]() |
VOOZH | about |
The stop() method is an inbuilt method in jQuery which is used to stop the currently running animations for the selected element.
Syntax:
$(selector).stop(stopAll, goToEnd);
Parameters: This method accepts two parameters as mentioned above and described below:
Below examples illustrate the stop() method in jQuery:
Example 1: This example does not contains any parameter.
Output:
Example 2: This example contains parameter.
Output: