Skip to content
Advertisement

Tag: reload

Location.reload() on mobile JS app

On a desktop, you can use location.reload(); and it will reload the page, restarting the code on it. But what if I wanted to ‘reload’ a javascript app? Is there a way to do so? Thanks! Answer There’s 534 different ways to reload a page in JavaScript. Take your pick: One of those is bound to work where location.reload(); doesn’t.

Advertisement