Ver Mensaje Individual
  #6 (permalink)  
Antiguo 31/01/2010, 17:05
Avatar de caricatos
caricatos
Moderador
 
Fecha de Ingreso: abril-2002
Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años
Puntos: 1284
Respuesta: Formulario con 2 botones submit y diferentes acciones

Hola:

En el de prever pondría algo así (del tipo button)

onclick="prever(this.form)"

y esta función...

function prever(f) {
faction= f.action;
ftarget = f.target;
f.action ="prever.php";
f.target = "popup";
window.open("", "popup", opciones);
f.submit();
f.target = ftarget;
f.action = faction;
}

Saludos
__________________
Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo