Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/07/2017, 10:57
Avatar de kaninox
kaninox
 
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 18 años, 7 meses
Puntos: 49
Respuesta: Como puedo actualizar un div cada X segundos usando Prototype

Interesante, pero si por ejemplo.

este codigo lo realizo con Jquery me funciona no así con Prototype.
De hecho si me lo planteas así, entonces sin niunguna librería deberia funcionar, pero no me resulta :(.

Código:
<script type="text/javascript">
function actualiza(){
    $("#capa").load("zhtml.php");
  }
  setInterval( "actualiza()", 10000 );
</script>

<div id="capa" style="border:1px solid #066; width:600px; height:250px;">TEXTO PLANO</div>
__________________
Gokuh Salvo al mundo. PUNTO!!!!