jQuery Tutorial


jQuery Example


jQuery References


jQuery stop() Effect Reference


  All jQuery Effect References


Uses

jQuery stop() effect method stop the running animation of selected elements.


Syntax

$(selector).stop([stopAll])

jQuery stop() effect supported following parameters.

ParameterDescription
stopAllstopAll is Optional parameter. A Boolean value specifying stop the queued animate. Default value is false.

jQuery stop() effect Example

<script type="text/javascript"> 
$(document).ready(function()
  {
  $("#btn1").click(function(){
    $("#divanimate").animate({height:"300px"},8000);
  });
  $("#btn2").click(function(){
    $("#divanimate").stop();
  });
});
<script>
Online Try This Code Your Self....   »

  All jQuery Effect References