- handleError:function(s,xhr,status,e){
- //Ifalocalcallbackwasspecified,fireit
- if(s.error){
- s.error.call(s.context||s,e);
- }
- //Firetheglobalcallback
- if(s.global){
- (s.context?jQuery(s.context):jQuery.event).trigger("ajaxError",[xhr,s,e]);
- }
这样,就可以用了
这样,就可以用了