Skyliner:
Podés probar con esto, utilizamos
setTimeout() para recargar cada tantos segundos (el valor se expresa en milisegundos, en el ejemplo, 5 segundos) y
location.reload(true), que a diferencia de
location.reload(), recarga desde el servidor salteándose la cache del navegador
Ejemplo
Código HTML:
Ver original<!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" xml:lang="es" lang="es" > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="x" /> <meta name="keywords" content="x" /> <meta http-equiv="Content-Language" content="ES" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta name="copyright" content="© 2006, Guillermo Gianello" xml:lang="es" lang="es" /> <script type="text/javascript"> //<![CDATA[
function r(){
location.reload(true);
}
function recarga(){
setTimeout("r()", 5000);
}
//]]>
<body onload="recarga();"> <p>Recargar desde el Servidor
</p> <!-- ©2000 Emprear.com -->
Saludos