T
Tim Streater
I want to add an onerror handler to my XMLHttpRequest object. It seems
that I can do this:
var req = new XMLHttpRequest(); Â
req.open ("POST", url, true); Â
req.onerror = onError;
with:
function onError (evt)
{
// Look at evt.
}
but I am having some difficulty in finding what attributes I can expect
evt to have, that it might be interesting to examine. I'm using Safari
5.1 under Lion.
Thanks,
that I can do this:
var req = new XMLHttpRequest(); Â
req.open ("POST", url, true); Â
req.onerror = onError;
with:
function onError (evt)
{
// Look at evt.
}
but I am having some difficulty in finding what attributes I can expect
evt to have, that it might be interesting to examine. I'm using Safari
5.1 under Lion.
Thanks,