I\'m writing a modal popup and I need the browser to jump to the top of the screen when the open modal button is pressed. Is there a way to scroll the browser to the top usi
Without animation, you can use plain JS:
scroll(0,0)
With animation, check Nick's answer.