Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

onload set scroll on top of page jquery

window.onbeforeunload = function () {
  window.scrollTo(0, 0);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #onload #set #scroll #top #page #jquery
ADD COMMENT
Topic
Name
1+3 =