var t = $('#tt');var p = t.tabs('getTab',0); // get the tab panelp.ajaxError(function(e,xhr){ console.log(xhr.status);});p.panel('refresh','...');