What's the best way to use JS to refresh the page? or How can I force a page refresh with JS?

20 Replies, 896 Views

`location.reload()` vs `window.location.href`—technically, the first is cleaner, but both do the same thing.

if one’s not working, the issue might be elsewhere, like an ad blocker or script conflict.

Messages In This Thread



Users browsing this thread: 1 Guest(s)