On
success: function(data, text, xhr) {},
is where you get the response, in this example, data will be equal to "some content", so there you can work with the response, for example replace the content of your html page;
success: function (data) {
$('body').html(data);
}