• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

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.

Thanks.
0
dojjol
Asked:
dojjol
1 Solution
 
dejaanbuCommented:
did u try with
window.location.href=the current url;  ?
0
 
dojjolAuthor Commented:
It has post data
0
 
Michel PlungjanIT ExpertCommented:
Change to GET or redirect after the post
0
 
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now