Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/03/2006, 12:31
Avatar de caricatos
caricatos
Moderador
 
Fecha de Ingreso: abril-2002
Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años, 1 mes
Puntos: 1284
Hola:

Tal vez te sirva algo así:

Código:
<html>
	<head>
		<title>
			contador
		</title>
		<script type="text/javascript">
			var maxCuenta = 600;
			cuenta = -1;
			function contador() {
				cuenta++;
				document.prueba.tiempo.value = cuenta;
				if (cuenta == maxCuenta)
					document.prueba.submit();
				setTimeout("contador()", 1000);
			}
		</script>
	</head>
	<body onload="contador();">
		<form name="prueba" action="" method="get" >
			<input type="text" name="tiempo" value="" readonly />
			<input type="text" name=pepe value="pepe" />
			<input type="submit" value="enviar" />
		</form>
	</body>
</html>
Saludos
__________________
Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo