13/07/2004, 20:27
|
| | Fecha de Ingreso: abril-2004 Ubicación: México D.F.
Mensajes: 1.724
Antigüedad: 20 años, 9 meses Puntos: 4 | |
Bueno, lo reduje a 1 solo campo para trabajar menos:
La primera página:
<html>
<head>
<script>
var mipopup
function abreventana(){
mipopup = window.open('URL2.html','popup','') ;
mipopup.focus() ;
mipopup .bracket.orharo.value=bracket.xxx.value;
}
</script>
</head>
<body>
<form name="bracket">
<input name=xxx>
<br><br>
<p><input type="reset" value="Borrar" style= "position: relative; left: 250"> <input type="button" value="Actualizar" name="sub" size="20" style= "position: relative; left: 350" onclick="abreventana()"></p>
</form size="20">
</body>
</html>
Y la segunda:
<html>
<head>
<h1 align="center">Brackets Torneo</h1>
<script>
function actualizar()
{
bracket.orharo.value=window.opener.bracket.xxx.val ue;
}
</script>
</head>
<body>
<form name="bracket">
<input name=orharo>
<br><br><input type=button value="Actualizar" onclick=actualizar()>
</form size="20">
</body>
</html>
---------------
A ver si es lo que entendí. :-p |