IE Pop up error

If you get an IE error saying 'To display the webpage again, Internet Explorer needs to resend the information you've previously..',

you can use
window.location =window.locatio n; to refresh the page
instead of
location.reload (true);