onLoadError

occurs when server side response is invalid and can't be processed

void onLoadError(object xhr);
xhrobjectXmlHttpRequest object

Example

some.attachEvent("onLoadError", function(xhr){
    //... some code here ... 
});

Details

It will not fire for valid responses, which informs about data saving problem, but only for non-parsable responses.

Back to top