The question is published on by Tutorial Guruji team.
For instance, I open a web page, and scroll down to some position,
then I refresh the chrome browser, the browser could scroll the previous position again
I have try
$(window).scrollTop(0), but it doesn’t work
A simple way that I can say is to run this code on page load:
document.location = "#";
It set the browser viewport to the top of the page, again.