Ver Mensaje Individual
  #7 (permalink)  
Antiguo 24/06/2002, 06:48
Avatar de macedo
macedo
 
Fecha de Ingreso: enero-2002
Ubicación: Madrid
Mensajes: 124
Antigüedad: 23 años, 3 meses
Puntos: 0
Re: Super Ayuda con este form..!!!!

Lo he probado y funciona.

El código quedaría así:

<html>
<head>
<SCRIPT language="JavaScript">
function AbrirChat(titulo)
{
popupWin = window.open('',titulo,'scrollbar, resizable, width=500 height=400')
Formulario.submit();
}
</script>
</head>

<body>
<form name="Formulario" method="POST" action="datos.asp" target="MisDatos">
<input type="text" name="nombre" size="15">
<input type="submit" value="continuar">
</form>
<A href="javascript:AbrirChat('MisDatos')"& gt;das
</a>
</body>
</html>

Habia un error en el script. El dato del nombre de la ventana llegaba al script como titulo y se usaba como name.

Además, en el tag body de datos.asp deberías poner algo como esto

<body onload="javascript:self.focus()">

Un saludo :)