Team,
I am trying to implement custom error handing to handle in-correct xml returned from the server but it is behaving strangely.
Below is the function I am using. To check my function, I have added one extra tag between two tags.
The error is being captured, function is being called, but I am not able to see any property for errorData[0] or errorData[1]. The length of the errorData is coming as 2 and printing errorDat[0] and errorData[1] ,gives object . but I am not able to print any property of response object. errorData[0].responseText returns un-defined.
dhtmlxError.catchError("LoadXML",
function(type,name,errorData){
alert(errorData[0].responseText);
}
);
Please help !!!