jQuery slide Up Fast


jQuery Slide Up fast : jQuery slideUp fast creates Fast sliding effects in the elements. $(selector).slideUp(“fast”); is used to add fast sliding effect in the html element


Syntax of jQuery Slide Up fast

$(selector).slideUp(speed,callback);

Speed : fast.

Callback : Callback function is optional. You can add function to be called when it completes the sliding effect.

jQuery slideUp Fast Example


<script type="text/javascript">
         $(document).ready(function(){
          $("#slide").click(function(){
           $("#demoDiv").slideUp("fast");
          });
          });
</script>    

Try it »

The above code will produce following result-

Note : This is screenshot of the output. To run this demo click on the above Try it button.
jQuery slide Up Fast Syntax And Example


Advertisements

Add Comment

📖 Read More