I'm trying to writing a javascript function/webpage that is accessed over a local network.
What I want to know is there any way I can test if the server machine (windows box running apache 2) is live before refreshing the page
or to trap an error message that the server timed out etc, while trying to access the page, using javascript.
Basically I want to prevent the page displaying an error message and hanging, but to be able to trap the error and then try again later.
Robert