Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

scroll to top javascript

// auto-scroll to the top of the webpage

window.scrollTo(0, 0);
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #scroll #top #javascript
ADD COMMENT
Topic
Name
6+4 =