How to Use Jquery Stop() method?

Hello friends, today I will tell you through experts php tutorial How to Use Jquery Stop() method using Jquery code. So let’s try to understand step to step with example.

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

The stop() method works for all jQuery effect functions, including sliding, fading and custom animations.



For Example-

<!DOCTYPE html>
<script src=""></script>
#panel, #flip {
padding: 5px;
font-size: 18px;
text-align: center;
background-color: #555;
color: white;
border: solid 1px #666;
border-radius: 3px;
#panel {
padding: 50px;
display: none;
<button id="stop">Stop sliding</button>
<div id="flip">Click to slide down panel</div>
<div id="panel">Hello Experts PHP!</div>
Click to slide down panel
Hello Experts PHP!