jQuery Stop
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> </head> <body> <button id="stop">Stop</button> <div id="panel" style="width:100px; height:100px; background-color:navy;"></div> <script> $("#stop").click(function(){ $("#panel").stop(); }); </script> </body> </html>