<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>父窗口</title>
<script type="text/javascript">
function OWin(url,title,width,height){ 
return window.open(url,title,"top=100,left=300,width="+width+",height="+height+",toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no");
}function Completed(value){
document.getElementById('Name').value = value;
}
</script>
</head>
<body>
<input name="Name" type="text" id="Name" value="" size="20">
<a href="javascript:void(0);" onClick="OWin('htm.htm','','300','350');">子窗口</a>
</body>
</html><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>子窗口</title>
<script type="text/javascript">
function Check(){
var value = document.getElementById("Name").value;
alert(value);
window.parent.Completed(value);
window.close();
}
</script>
</head>
<body>
<input name="Name" type="text" id="Name" value="" size="20">
<input name="beatch" type="button" onClick="Check();return false;" value="确定"></td>
</body>
</html>请问问题是出在什么地方了????