The HTTP status is sent by the server once for each request. And I'm fairly certain that you can just check xmlhttp.status wherein xmlhttp is an instance of XMLHTTPRequest. The status attribute should be set when the server responds and should remain the same until the object is reused for another request ...
well, 4 is a readystate, which does change, but 200 and 400 don't change, so they don't need an event.
you probably should look into onreadystatechange()...
Bookmarks