I need to be able to detect if the server is down or if we’ve lost communication to the server. On normal AJAX requests I can look at loader.xmlDoc.responseText and detect a problem, showing the user a nice pop-up box.
However, when using loadXML, how can I detect if the server didn’t return any XML (eg, times out and returns “”)?
What is the preferred method to do this?