IE Refresh alert window

Hello All,

I am using window.location.reload method to reload the screen but doing it is calling IE standard "Refresh" alert message.

Is there a way somehow I can avoid this alert message.

Who is Participating?
dejaanbuConnect With a Mentor Commented:
did u try with
window.location.href=the current url;  ?
dojjolAuthor Commented:
It has post data
Michel PlungjanIT ExpertCommented:
Change to GET or redirect after the post
RobOwner (Aidellio)Commented:
GET is the best (and simplest) solution here

However if you need to stay with POST, write the any posted data back in an "invisible" form and submit that instead using javascript.  Leave the original form on the page for the user to submit if required.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.