I am using window.location.reload in a jQuery dialog on close. The issue is that if users posted to the page earlier, it will give them a dialog to reload the post data. Is there a way to load the page without “reloading”, or “refreshing”.
Something similiar to PHP’s header(“Location”);
I need it to load the same url, just not reload it.
I understand that I can use window.location = window.location, but this does not work.
How about
window.location.href = document.URL;