Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

scroll to top jquery

window.scrollTo({top: 0, behavior: 'smooth'});

reference : https://stackoverflow.com/questions/15935318/smooth-scroll-to-top
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scroll #top #jquery
ADD COMMENT
Topic
Name
8+6 =