Question: what is the difference between location.reload() and window.location.reload()?
Answer: reload() reloads the current page with POST data, while window. location. href='your url' does not include the POST data. Further more, window.