Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript go to top of page

window.scroll({
 top: 0, 
 left: 0, 
 behavior: 'smooth' 
});
 
PREVIOUS NEXT
Tagged: #javascript #top #page
ADD COMMENT
Topic
Name
1+2 =