javascript - How can I refresh a webpage without the browser asking if I want to resend again -



javascript - How can I refresh a webpage without the browser asking if I want to resend again -

i got next code refresh webpage. works great if don't submit post if do, message browser when webpage refreshes (see image below)

location.reload(true);

i'm not looking browser settings tweak. i'm looking alternative code refresh without asking.

this caused due page beingness requested post instead of get. refreshing resubmit post data. can forcefulness using window.location = window.location.href;.

if want allow people reload page through browser controls need implement prg pattern redirects get after post.

javascript

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -