This one works fine with internet explorer :
page1.html
<html>
<head>
<script type="text/javascript">
function openscr()
{
var scr = window.open("page2.html", "_blank", "toolbar=no, scrollbars=yes, resizable=yes,addressbar=no, width=350, height=300");
timer = window.setInterval(function () { scr_closed(scr) }, 1000);
}
function scr_closed(scr) {
if (scr.closed) {
window.clearInterval(timer);
document.getElementById("txtname").value= ret_val;
}
}
</script>
</head>
<body>
<input type="text" id="txtname" />
<input type="button" value="Click me" onclick="openscr();"/>
</body>
page2.html
<html>
<head>
<script type="text/javascript">
function return_values() {
window.opener.ret_val = document.getElementById("myname").value;
self.close();
return false;
}
</script>
</head>
<body>
Enter Your Name <input type="text" id="myname" />
<input type="button" value="ok" onclick=" return return_values();"/>
</body>