success:function(response, status, xhr){ }, error:function(xhr, errorText, errorType){ alert(errorText+":"+errorType); --error:not found alert(xhr.status+":"+xhr.statusText);--404:not found }