Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/02/2009, 13:41
thezzin
 
Fecha de Ingreso: septiembre-2008
Mensajes: 350
Antigüedad: 15 años, 7 meses
Puntos: 31
Respuesta: Formulario con popup

aquí te dejo otro Código, lo he probado en: Mozilla Firefox y en Internet Explorer y funciona bien...

para la pagina del Formulario
Código HTML:
<script>
<!--
function NWindows(wNombre){
Wopcion = 'width=300,height=200,toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no';
popUp = window.open('',wNombre,Wopcion);
if(popUp.focus){ 
popUp.focus(); 
}
return true;
}
-->
</script>

<form action="popup.php" method="post" target="Details" onSubmit="return NWindows(this.target)">
<input type="hidden" name="valor" value="valor ????????"/>
<textarea name="textarea"></textarea>
<input type="submit" value="Enviar" class="boton"> 
y para el: popup.php que procesara los datos...
Código PHP:
<?php
if(isset($_POST['textarea'])){
echo 
$_POST['textarea'].'<br>';
echo 
$_POST['valor'];
}
?>
__________________
╬-----╬
║☺₧☻║
╬-----╬