success:function(response, status, xhr){
},
error:function(xhr, errorText, errorType){
alert(errorText+":"+errorType); --error:not found
alert(xhr.status+":"+xhr.statusText);--404:not found
}
原文:http://www.cnblogs.com/annie211/p/6031368.html