Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

on ie, how to catch the retry button when refreshing

Status
Not open for further replies.

Keendev

Technical User
Jan 23, 2006
106
PH
Hi,

I have a script in a button that when pressed will refresh the page. The only thing is on I.E (or other browsers), is everytime page will perform refresh/reload it will give an alert message first, and informs and asks for users to click Retry or Cancel to continue or not.

How can I skip the alert message or catch the message to replace it with customize message from the web application??

Can I have your ideas or inputs, and advice about this?

Thanks in advance.
 
The answer is simple: don't refresh the page after posting form data.

If you need to do so, first perform a redirect so the data is not in danger of being resubmitted.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
P.S. You'd probably do the redirect server-side, so should ask in the forum for whatever server-side language you are using (ASP, JSP, PHP, GSP, etc).

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top