get ajax response error in jquery
        by Ramya[ Edit ] 2012-05-25 17:47:50 
         
        
        	get ajax response error in jquery
 sometimes we may not be able to find the error while receiving ajax response. in that case we need a solution to get the response error to identify......
 in jquery, you can get ajax response error by using the following,
  
  $.ajax({
            type: 'POST',
            url:   'Your url here',
            data: "email="+email,
            success: function(data) 
            { 
	      $('#res').html(data);     
            },
            error: function(xhr, status, error) {
              alert("\nError: " + error);
            }
       });