window.location.reload complete?

javascript, reload, windows

Solution

You simply have to provide a function to onload : a reload isn't different from a load.

window.onload = function() { // ...

Problem

I call ``` window.location.reload(false) ``` in a javascript method to update the page. I have additional javascript calls after this call. Is there a way to know when window.location.reload(false) has completed running before calling the additional javascript calls?

Original source