如何将子窗口的特定值传给父窗口???
父窗口打开加载子创口
<html><head>
<script language="javascript">
function openwindow(){
window.showModalDialog("conter.html","主","serollbars=0,loaction=0,statusbars=0,menubars=0,resizable=0,width=400,heigh=150")
}
</script>
</head>
<body onLoad="openwindow()">
<form name="acp">
</form>
</body></html>
子窗口
<html><head></head>
<body>
<p>帳號:
<input name="text" type="text" size="36">
<input name="btnQ" type="button" id="buttenQue" value="確認" </p>
</body>
</html>
问题在子窗口text 输入文字后,点击button 后将text的内容显示在主窗口中