日期:2014-05-16 浏览次数:20804 次
Ext.Ajax.request( { url : batchUrl, method : 'post', timeout : timeout, params : { deleteIds : deleteIds, deleteNames : deleteNames }, success : function(response, options) { var info = response.responseText; alert(info); }, failure : function(response, options) // 删除出现异常的情况,提示删除失败 { var respText = Ext.util.JSON.decode(resp.responseText); //偶现的response.status为0,response.responseText为undifine,请问为什么会失败? alert("failure-->" + response.status + "==" + response.responseText + "==" + respText.error); } });