Ho un due pagine html...

Pagina Form.html:
-------------------------------------------------------------------------------

<html>
<script Language="JavaScript">
<!--
function popup()
{
var w = 750;
var h = 400;
var l = Math.floor((screen.width-w)/2);
var t = Math.floor((screen.height-h)/2);
window.open("popup.html","","width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);
}
</script>

</head>

<body>
<form name="form" action="" method="post">
<input type="text" name="testo">

<input type="button" value="Invia">
<input type="button" value="Apri popup" onclick="popup()">
</form>

</body>
</html>
-------------------------------------------------------------------------------

Pagina popup.html:
-------------------------------------------------------------------------------

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PopUp</title>
</head>

<body>
<input type="button" onclick="if(window.opener){window.opener.form.test o.value='testo aggiunto';}>
</body>
</html>
-------------------------------------------------------------------------------

In pratica vorrei che cliccando sopra al link della popup, mi si riempia la casella di testo della form con il testo indicato nel link....non so se mi sono spiegato!