easyui how to set a event on load tab error
        Posted  
        
            by 
                joaner
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by joaner
        
        
        
        Published on 2013-10-30T10:01:53Z
        Indexed on 
            2013/10/31
            9:54 UTC
        
        
        Read the original article
        Hit count: 517
        
jquery-easyui
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.
© Stack Overflow or respective owner