Location: PHPKode > scripts > Ajax Poll Script > web/sample.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Ajax Poll</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="poll.php"></script>
</head>
<body>

<center>
<div style='margin-top:100px;width:400px;'>

<div id='poll'></div>

</div>
</center>

</body>
</html>
Return current item: Ajax Poll Script