June 22, 2015
admin
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> |
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.
Advertisements
Add Comment
📖 Read More
jQuery Slide Up Fast example code, jquery tutorial with examples for beginners, learning jquery online