javascript reset scroll position code example Example: javascript reset scroll position window.scrollTo(0,0);