87,910
社区成员
发帖
与我相关
我的任务
分享
window.showModalDialog("ModalDialogFrame.aspx?Title=选择组织部门&PageUrl=ParentTreeView.aspx",window,"dialogWidth=380px;dialogHeight=650px;status=no;center=yes;");
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>无标题页</title>
<script type="text/javascript">
function ReturnVal()
{
window.opener.document.getElementById('T1').value=document.getElementById('Text1').value;
window.close();
}
</script>
</head>
<body>
<input id="Text1" type="text" />
<input id="Button1" type="button" value="关闭" onclick="ReturnVal();" />
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>无标题页</title>
<script type="text/javascript">
function OpenWin()
{
window.open("father.htm","aa","","");
}
</script>
</head>
<body>
<input id="T1" type="text" />
<input id="Button1" type="button" value="提交" onclick="OpenWin();" />
</body>
</html>