jQuery fadeToggle milliseconds


jQuery fadeToggle milliseconds – You can define your custom speed in milliseconds.


Syntax of jQuery fadeToggle milliseconds

$(selector).fadeToggle(milliseconds);

jQuery fadeToggle milliseconds Example


<script type="text/javascript">
         $(document).ready(function(){
          $("#fadeInbutton").click(function(){
           $("#demoDiv").fadeToggle(5000);
          });
          });
</script>    

Try it »


Advertisements

Add Comment

📖 Read More