I use jQuery Ajax. My success function:
...
success: function(data, status, xhr) {
alert(data);
r = resultResponse(data);
}
...
How can I get the data from response body (with xhr or with any other way except for data variable, because data variable is undefined opposite to there is data at response body)?