I\'m trying to set the scroll position on a page so the scroller is scrolled all the way to the top.
I think I need something like this but it\'s not working:
You can use window.scrollTo(), like this:
window.scrollTo(0, 0); // values are x,y-offset