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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript to disable Retry message

Status
Not open for further replies.

bryanfl100

Technical User
Dec 2, 2005
17
US
When I use the following script (automatic browser refresh) it pops up a message saying "Retry". Is there a way to disable this pop up box and resend the information automatically?

<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
 
The message you get sounds like the standard one from IE for a page when a form is submitted to it with the post method. What is the previous page submitting to this page?

Lee
 
It is a search results page that I want to refresh every minute which looks for new updates.
 
I would use prototype's PeriodicalExecuter object to make an AJAX call to the search page
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top