
27/06/2002, 11:28
|
 | | | Fecha de Ingreso: noviembre-2001 Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses Puntos: 0 | |
Re: escribir en un form y luego popup
Código:
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win=window.open(mypage,'_blank','toolbar=0,location=0,close=yes,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+h+',width='+w+',top='+wint+',left='+winl+'');
if (parseInt(navigator.appVersion) >= 4)
{
win.window.focus();
}
}
function JsAceptar()
{
NewWindow('ventana.asp','name','520','425','no');
}
</script>
</head>
<body>
<table>
<tr>
<td>ingrese lo que quiera</td>
<td>
<input type=text name=caja>
</td>
</tr>
<td>
<input type=button name=enviar onclick="javascript:JsAceptar();">
</td>
</tr>
</table>
</body>
</html>
Ventana.asp
<%response.write request("caja")%>
:P |