Ver Mensaje Individual
  #6 (permalink)  
Antiguo 24/11/2003, 04:23
Avatar de jercer
jercer
 
Fecha de Ingreso: octubre-2003
Mensajes: 373
Antigüedad: 20 años, 6 meses
Puntos: 13
Prueba poniendo algo así:
<html>
<head>
<script language="javascript">
function envio_form(){
document.formulario.target = "_blank";
document.formulario.action = "xxx.htm"
document.formulario.submit();
document.formulario.target = "_self";
document.formulario.action = "yyy.htm"
document.formulario.submit();
}
</script>
</head>
<body>
<form name="formulario" id="formulario" method="post">
<input type="text" name="uno"><br>
<input type="text" name="dos"><br>
<input type="text" name="tres"><br>
<input type="text" name="cuatro"><br>
<input type="button" value="Aceptar" onclick="envio_form()">
</form>
</body>
</html>

Fijate en que he puesto dos action diferentes, supongo que si cargas los dos en la misma página uno no te lo cargará, aunque no lo he probado

Última edición por jercer; 24/11/2003 a las 04:24