是parent
<input id=aa value='aa'>
<iframe src="1.htm"></iframe>in 1.htm
<input type=button onclick="parent.document.all.aa.value='sdfdsagsadfg'">
<input id=aa value='aa'>
<iframe src="1.htm"></iframe>in 1.htm
<input type=button onclick="parent.document.all.aa.value='sdfdsagsadfg'">
function OpenWin()
{
var win1;
win1 = window.open ("blank","childwin","width=150,height=100");
win1.document.write ('<input type="button" value="ctlParent" onclick="javascript:opener.document.all.mpInput.value=\'hello world!\'">');
win1.document.write ('<input type="button" value="Close" onclick="javascript:window.close()">');
}
</script><input type="text" name="mpInput">
<input type="button" value="Open" onclick="OpenWin()">