jquery animate alternative javascript code example
Example: animate in jquery
$("button").click(function(){
$("#box").animate({height: "300px"});
});
$("button").click(function(){
$("#box").animate({height: "300px"});
});