function done() {
if(req.status == 200) { //success
txtResponse.value=req.responseText;
} else { //failure
msg = "Error: Status = " + req.status;
if(TypeName(req.statusText)=="string" ) { msg = msg + " " + req.statusText; }
if(TypeName(req.err)=="string" ) { msg = msg + " " + req.error; }
NSB.MsgBox(msg);
}
}
At first I thought err was spelled wrong, but I don’t see an error property either. jQuery doesn’t show such a property. It’s not documented in the Language Reference. I didn’t go any further.