Saturday, July 15, 2017

Describe about jQuery animate() - Using Pre-defined Values.

jQuery animate() - Using Pre-defined Values

You can even specify a property's animation value as "show", "hide", or "toggle":

Example

$("button").click(function(){
    $("div").animate({
        height: 'toggle'
    });
});