Hi, I'm new here and I was wondering if anyone new how to stop the screen from refreshing everytime you close a pop up menu.

I am making a web page and everytime you press the button for answers, you have to close it again and this annoying takes you to the top of the page. Is there any way I can stop the refresh when the Ok button is pressed?

Thanks