Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

scroll to top javascript

  scrollToTop(){
    window.scroll(0,0);
  }  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scroll #top #javascript
ADD COMMENT
Topic
Name
9+5 =