Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/12/2007, 08:19
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Re: Pasar una variable a una ventana popup desde un formulario!

Hola Ruben S.

Prueba poniendo así el formulario:

Código:
<form id="chat" method="post" action="chat.php" target="popup" onsubmit="window.open(this.action,'popup','width=640,height=480,resizable=no,scrollbar=no');return false;">
En la página chat.php, recoges el valor con:

Código PHP:
$variable $_POST['nick']; 
Saludos,