Hola otra vez:
Por lo pronto, aquí tienes un ejemplillo que funciona:
Página principal:
<html>
<head>
<script type="text/javascript">
function asignar(sitio, dato) {
document.forms.prueba[sitio].value = dato;
}
function enviar(x) {
window.open("popup.html?destino=" + x.name, "popup", "width=300,height=200,status=yes");
}
</script>
</head>
<body>
<form name="prueba" action="destino.html" target="">
<input type="text" name="dato1" value="" />
<input type="button" value="popup" onclick="enviar(dato1)" />
<input type="text" name="dato2" value="" />
<input type="button" value="popup" onclick="enviar(dato2)" />
<input type="text" name="dato3" value="" />
<input type="button" value="popup" onclick="enviar(dato3)" />
</form>
</body>
</html>
Popup:
<html>
<head>
<script>
function dejar(esto) {
var destino = location.search.split('=')[1];
opener.asignar(destino, esto.dato.value);
window.close();
}
</script>
</head>
<body>
<form>
<input type="text" name=dato />
<input type="button" value=enviar onclick="dejar(this.form)" />
</form>
</body>
</html>
Saludos