.done(function(data) {
console.log(data);
})
<?php echo "string"; ?>
<!DOCTYPE html>
<html lang="en">
<head>
...
</head>
<body>
<div class="header">...</div>
<div class="content">...</div>
<div class="footer">...</div>
</body>
</html>