Ho trovato diversi esempi del tipo
a me la pagina responde.php non serve poichè ho tutto nella div in questo modo:codice:$(document).ready(function() { $.ajaxSetup({ cache: false }); // This part addresses an IE bug. without it, IE will only load the first number and will never refresh setInterval(function() { $('#notice_div').load('response.php'); }, 3000); // the "3000" });
codice:<div> session_start(); echo $_SESSION['ABC']; </div>