I have a scrollTop function in jQuery but I can\'t animate it. Is it possible?
$(\".loadmore\").click(function() { $(this).toggleClass(\"up-arrow\", 1000);
$('html, body').animate({ scrollTop: $('.docs').offset().top}, 2000);