Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/05/2003, 08:08
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 6 meses
Puntos: 381
alid,

lo que debes hacer es lo siguiente

La función js que usas no te sirve si por nombre de ventana tiene una variable. Lo primero es que la ventana tenga un nombre conocido. Cambia tu función por ésta que es la misma pero modificada:

<script LANGUAGE="JavaScript">
function popUp(URL) {
ventanita= window.open(URL,'ventanita', 'toolbar=0,scrollbars=1,location=0,statusbar=0, menubar=0,resizable=0,width=560,height=240')
}
</script>



a tu tag de form ponle lo siguiente

<form action ="encuesta/proceso.php" method = "post" onsubmit="popUp('')" target="ventanita">