Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/03/2011, 06:20
Faraday28
 
Fecha de Ingreso: marzo-2011
Mensajes: 106
Antigüedad: 13 años, 2 meses
Puntos: 4
Respuesta: refrescar un iframe

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>

<script type="text/javascript">

function reFresh(){
frames['user'].location.reload();
}
window.setInterval("reFresh()",1000);
</script>

</head>
<body onload="reFresh()">

<form>
<input type="submit" value="enviar" name="envio" />
</form>
<iframe id="user" src="comprobar.php" width=290 height=250>
</iframe>

</body>
</html>

lo tengo asi, comprobar.php mira una base de datos y saca informacion de ahi, pero sigue sin funcionar.