This Angular tutorial helps you get started with Angular quickly and effectively through many practical examples.

jQuery SlideUp

jQuery slideUp() Method

The jQuery slideUp() method is used to slide up an HTML element.



  1. speed -It specifies the speed of the slideUp effect. Default value is 400 milliseconds. Possible values:

    • milliseconds
    • slow
    • fast
  2. callback - A function to be executed after the slideUp method is completed.

The following example demonstrates the slideUp() method.


<!DOCTYPE html>
<script src=""></script>
#flipid {
padding: 5px;
text-align: center;
background-color: red;
border: solid 1px green;

#panelid {
padding: 5px;
text-align: center;
background-color: green;
border: solid 1px green;

#panelid {
padding: 50px;

<div id="flipid">Click to slide Up</div>
<div id="panelid">!</div>



jquery slideUp method

Now click on the Click to slide Up. It will slide up as following:

jquery slideUp method
Prev Next