<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"/>
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>document</title>
<script src="jquery.min.js"></script>
<script type="text/javascript">
$("document").ready(function () {
function getBak() {
$.ajax({
url: 'get.php',
type: 'POST',
success: function (content) {
$('.content').append(content);
}
});
}
setInterval(function (){
getBak();
}, 9000);
});
</script>
</head>
<body>
<div id="content"></div>
<div class = "content"></div>
</body>
</html>