easyui how to set a event on load tab error
- by joaner
I'm use easyui tabs load html content:
contents.tabs('add',{
title: title,
href: href,
closable: true,
extractor:function(data){
console.log(data);
return data;
}
});
sometime I maybe got a 404, 500 response, but the response error message is not display in the new window. The tab window always show loading style.
So I try to find a onLoadError event to catch this error in office manual: http://www.jeasyui.com/documentation/tabs.php , but not exists. Please tell me how to do let me exit the loading status.