esedic
8/23/2017 - 8:04 AM

Scroll to top of the page with jQuery

Scroll to top of the page with jQuery

$('.totop').click(function(){
  $('html, body').animate({ scrollTop: 0 }, 600);
  return false;
});