Reload/Refresh a Clickable Button

I’m making a Project. Where as there is a feature that I needed a Clickable Button to be Refresh. Like exactly the button to be refresh.

How can I implement this? Is this possible?

My idea of doing this is by using “document.location.replace(“id of button”)”

Thank you, Beginner Here…