
01-06-2013, 08:35 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
here's testing source code: /test.php
PHP Code:
<script type="text/javascript" src="jquery.js">
</script>
<div id="show"></div>
<script type="text/javascript">
jQuery(function($) {
$("#show").load("callback/list.php");
interval_stats = setInterval("$('#show').load('callback/list.php');", 5000);
});
</script>
the result is expected:
--- design header ---
--- callback/list.php -----
--- design footer ---
|