asp.net 子父窗口 传值
来源:互联网 发布:野村周平水原希子 知乎 编辑:程序博客网 时间:2024/06/06 00:36
父窗口
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题文档</title>
<script language="javascript">
function openSub()
{
window.open("新建 文本文档 (2).html",null,"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
}
</script>
</head>
<body>
<form name="frm0">
<input type="text" id="txtId" />
<input type="button" onclick="openSub();" value="打开子窗口" />
</form>
</body>
</html>
子窗口
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2123" />
<title>无标题文档</title>
<script language="javascript">
function setValue()
{
window.opener.document.getElementById("txtId").value=window.self.document.getElementById("dd").value;
window.close();
}
</script>
</head>
<body>
<form name="frm">
我是子窗口
<input type="button" onclick="setValue();" value="赋值"/>
<input type="text" id="dd" value="赋值"/>
</form>
</body>
</html>
- asp.net 子父窗口 传值
- asp.net子窗口关闭局部刷新父窗口
- asp.net 子窗口的值传到父窗口中
- asp.net 弹出子窗口
- ASP.NET 模式窗口(子父窗口之间的传值)
- <a>标签 从嵌套子页面跳转到父窗口下的另一子窗口 asp.net
- aps.net子窗口刷父窗口
- ASP.NET 后台关闭子窗口并向父窗口做刷新, 或者执行父窗口的脚本涵数
- 子窗口 父窗口 传值
- .net模式子窗口传值给父窗口
- VB.Net 设置子窗口在父窗口居中显示
- asp.net 父窗体获取子窗体的返回值,对父窗体局部更新(模式化窗口)
- asp.net 父窗体获取子窗体的返回值,对父窗体局部更新(模式化窗口)
- 子窗口父窗口
- asp.net 窗口
- ASP.net 关闭窗口
- asp.net 关闭窗口
- asp.net弹出窗口
- 道听途说Struts2之6:Action通配符 约定优于配置
- struts 输入校验
- asp.net怎么使用repeater
- 第八周任务1:方案二:请用类的友元函数,而不是成员函数,完成上面提及的运算符的重载;
- ICE的消息编码规则
- asp.net 子父窗口 传值
- Exercise 3: Numbers And Math
- Android中的SimpleAdapter
- 回调函数
- U-Boot启动过程分解 2
- Sexagenary Cycle(干支纪年)
- git push 小结
- Java限制格式,只能输入数字的输入框JTextField
- pieces框架