problem loading tree from xml file…if the required file doesnot exist, it is throwing error
how to check, whether the resource (xml file) file exist or not, before passing it to the function?
You can set custom error handlers.
For example:
function my_error_handler(type, name, data){
/your code here/
}
dhtmlxError.catchError(“LoadXML”,my_error_handler);
dhtmlxError.catchError(“DataStructure”,my_error_handler);