You should use JScript or VBScript, I guess. As "IE only solution" you
may check my advise at microsoft.public.scripting.jscript but I'm
pretty sure that they will come to the same conclusion.
Post or link your best attempt you have made so far and we may try to
come together to some cross-browser solution.
ok,to declare it more clearly
the parent window:
<body>
<script>
function OpenChild()
{
var childWin = window.open("t.html");
}
</script>
<input type="button" onclick="OpenChild()"/>
<input type="button" id="try" onclick="f();"/>
</body>
the son window:
<html>
<body onbeforeunload="g();" onload="X();">
<script>
function X()
{
document.body.appendChild(window.opener.document.getElementById('try'));
}
function g()
{
window.opener.document.body.appendChild(document.getElementById('try'));
}
</script>
</body>
</html>
passed in ff,but failed in IE