试试我的方法:
1.htm:
<html>
<head>
<script>
function mm()
{
   var ww = window.open("dd.htm");}
function nn()
{
    alert("dd.htm装载完毕!");
}</script>
</head>
<body>
<input type=button value=button onclick=mm()>
</body>
</html>dd.htm:
<html>
<head>
</head>
<body onload='opener.nn()'>
This is dd.htm!!!
</body>
</html>