Suppress Browser Alert
- From: "tertullian" <marc.carmen@xxxxxxxxx>
- Date: 29 Nov 2005 16:39:45 -0800
I have a page that tries to forward the page using javascript every
minute. However, I have to write it so that if the computer were to
lose internet connection it would appear to the user as though nothing
has changed and try to refresh again in a minute. I have everything
working except for if the computer loses internet connection it throws
up a browser error that the page cannot be reached. Is there anyway to
suppress that browser alert message with javascript or some other
option? The code I am use looks like this:
try {
window.location.href="nextpage.html";
}
catch(err) {
reset the counter
}
As I said the counter itself works. The problem is that it pops up the
alert and I can't have it do that. It needs to appear as though
nothing has happened to the user.
Any thoughts?
.
- Follow-Ups:
- Re: Suppress Browser Alert
- From: RobG
- Re: Suppress Browser Alert
- Prev by Date: Re: javascript variables undefined Firefox
- Next by Date: Re: Handle Leaks with Microsoft.XMLDOM
- Previous by thread: Quicktime SetURL from Javascript
- Next by thread: Re: Suppress Browser Alert
- Index(es):
Relevant Pages
|