
24/06/2009, 00:16
|
 | | | Fecha de Ingreso: julio-2008 Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 7 meses Puntos: 32 | |
Respuesta: formulario se ejecute varias veces Algo asi??
<script>
function reenvia(cantidad,form){
var n=1
while(n<=cantidad){
form.submit();
alert(n)
n++;
}
}
</script>
<form action="pruebas.php" method="POST">
<input type="text" name="valor" value="">
<input type="submit" name="enviar" value="enviar" onclick="reenvia(5,this.form);">
</form> |