jQuery Tutorial


jQuery Example


jQuery References


jQuery slideUp() Effect Reference


  All jQuery Effect References


Uses

jQuery slideUp() effect method change the Height for selected element from visible to hidden.


Syntax

$(selector).slideUp(speed,[callback])

jQuery SlideUp() effect supported following parameters.

ParameterDescription
speed speed is Optional parameter. speed define hide the effect.
Specific Speed Values:
  • "slow"
  • "normal"
  • "fast"
  • "1000" (milliseconds)
callback Callback is optional parameter. It is use to represents a function to be executed whenever effect is completed.

jQuery slideUp() effect Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("#click").click(function(){
    $("#slide").slideUp("slow");
  });
});
<script>
Online Try This Code Your Self....   »

  All jQuery Effect References