jQuery fadeOut milliseconds


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


Syntax of jQuery fadeOut milliseconds

$(selector).fadeOut(milliseconds);

jQuery fadeOut milliseconds Example


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

Try it »


Advertisements

Add Comment

📖 Read More