文件名: 定义父类窗口,接收子窗口返回的内容,window.opener.document取得父类窗口的对象.html
文件代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>定义父窗口,接收子窗口返回内容</title>
<script language="javascript" type="text/javascript">
function shownewpage(thisurl)
{
window.open(thisurl,"弹出页面","width=470,hight=15,scrollbar=yes,resizable=no");
}
</script>
</head>
<body>
<form name="parentform">
<input type="button" value="选择信息" οnclick=