Answers for "how to set bottom scroller on top using jquery"

2

jquery scroll to top

$("my-element").click(function () {
  $("html, body").animate({
    scrollTop: 0
  }, 1000)
})
Posted by: Guest on June-17-2021
2

jquery scroll to bottom

$(window).load(function() {
  $("html, body").animate({ scrollTop: $(document).height() }, 1000);
});
Posted by: Guest on March-01-2021

Code answers related to "how to set bottom scroller on top using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language