Files in the callback folder has to be loaded by this 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>
when the files is loaded and showen in the div is has the design 2 times, first time on the file test.php in the www dir, and design again on the file list.php in the www/callback folder (where the htaccess file is set not to apped the design.

Last edited by MJuhler; 01-06-2013 at 07:34 AM..
Reason: addet image
|