Slide up form controls animation in jQuery
Description
The following code shows how to slide up form controls animation.
Example
<!-- w ww . j ava2s . c om-->
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function () {
$(this).parent().slideUp("slow", function () {
alert("done");
});
});
});
</script>
</head>
<body>
<div>Click me<button>button</button></div>
</body>
</html>
The code above generates the following result.
...
Hide and Slide down animation in jQuery
Hide and remove animation in jQuery
Hide fast animation in jQuery
Hide in millisecond animation in jQuery
Move an element by changing left during ani...
Pass arguments.callee to show callback func...
Queue a custom function in jQuery
Replace the queue of all matched element wi...
Show a Div based Dialog in animation in jQu...
Show fast animation in jQuery
Show hidden div tags in animation in jQuery
Show hidden fast animation in jQuery
Show hidden slow animation in jQuery
Show in millisecond animation in jQuery
Show normal animation in jQuery
SlideDown and slideUp animation in jQuery
Slide down a paragraph animation in jQuery
Slide down and set focus animation in jQuer...
Slide down fast animation in jQuery
Slide down form fields animation in jQuery
Slide down in milliseconds animation in jQu...
Slide down slowly animation in jQuery
Slide to show paragraph animation in jQuery
Slide toggle a button and callback in jQuer...
Slide toggle animation in jQuery
Slide toggle button animation in jQuery
Slide toggle in milliseconds animation in j...
Slide toggle slow animation in jQuery
Slide up a DIV tag animation in jQuery
Slide up animation and callback a function ...
Slide up fast animation in jQuery
Slide up slowly animation in jQuery
Slow fade in in jQuery
Slow fade out a button in jQuery
Slow fade out in jQuery
Slow fade to 0.33 in jQuery
...
Hide and Slide down animation in jQuery
Hide and remove animation in jQuery
Hide fast animation in jQuery
Hide in millisecond animation in jQuery
Move an element by changing left during ani...
Pass arguments.callee to show callback func...
Queue a custom function in jQuery
Replace the queue of all matched element wi...
Show a Div based Dialog in animation in jQu...
Show fast animation in jQuery
Show hidden div tags in animation in jQuery
Show hidden fast animation in jQuery
Show hidden slow animation in jQuery
Show in millisecond animation in jQuery
Show normal animation in jQuery
SlideDown and slideUp animation in jQuery
Slide down a paragraph animation in jQuery
Slide down and set focus animation in jQuer...
Slide down fast animation in jQuery
Slide down form fields animation in jQuery
Slide down in milliseconds animation in jQu...
Slide down slowly animation in jQuery
Slide to show paragraph animation in jQuery
Slide toggle a button and callback in jQuer...
Slide toggle animation in jQuery
Slide toggle button animation in jQuery
Slide toggle in milliseconds animation in j...
Slide toggle slow animation in jQuery
Slide up a DIV tag animation in jQuery
Slide up animation and callback a function ...
Slide up fast animation in jQuery
Slide up form controls animation in jQuery
Slide up in milliseconds animation in jQuer...Slide up slowly animation in jQuery
Slow fade in in jQuery
Slow fade out a button in jQuery
Slow fade out in jQuery
Slow fade to 0.33 in jQuery
...