jQuery.fx.interval property in jquery

This property is used to adjust the number of frames per second on which we apply the animation. 

<html>
<head>
  <style>
    div { width:100px; height:100px;
          background:Pink; }
    </style>
  <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
  <p><input type="button" value="Click Me!!!"/></p>
<div>Mahak</div>
<script>
jQuery.fx.interval = 200;

$("input").click(function(){
  $("div").toggle( 5000 );
});
  </script>

</body>
</html>

In this program, when we click on the button the animation will be started. we set it on div.

The Default value of this method is 13 milliseconds.


Output:

1.png