showing results for - "scroll to class jquery"
María Fernanda
22 Oct 2017
1var $container = $("html,body");
2var $scrollTo = $('.saveIcon');
3
4$container.animate({scrollTop: $scrollTo.offset().top - $container.offset().top + $container.scrollTop(), scrollLeft: 0},300);