Preferred method to reload page with JavaScript? [closed]

Depends on what you want to do. The fourth and sixth methods there won’t reload any form data, they essentially make a separate visit to the page. Some versions of Firefox also have issues with the third method. Other than that, I’d go with the fifth as a personal preference. It seems the clearest.

Leave a Comment