传值
来源:互联网 发布:tensorflow 算法 编辑:程序博客网 时间:2024/05/17 03:54
父窗体
function OpenWindow(){
window.open('child.html');
}
function setValue(m_strValue){
document.getElementById("txt_Value").value = m_strValue;
}
子窗体
function CloseWind(){
opener.setValue("传值到父窗体");
window.close();
}
、、、、、、、、、、、、、、、、、IE、、、、、、、、、、、、、、、、、
父窗体
function doInput()
{
var win = window.showModalDialog("Childform.html",window,"dialogWidth=500px;dialogHeight=300px;center=yes;status=no");
if(win != null)
{
document.getElementById("parentTextBox").value = win;
}
子窗体
window.returnValue = document.getElementById("childTextBox").value;
window.close();
}
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值
- 传值、传引用、传值
- iOS传值(block传值)
- IOS传值:block传值
- c#传值
- JavaScript传值
- 音乐播放器──quodlibet!(乱码解决)
- 解决电脑问题方案之三
- linux 技巧:使用 screen 管理你的远程会话
- globar.js
- 传智播客--itcastbbs(五)
- 传值
- 传智播客--itcastbbs(六)
- hdu 2049
- jqueryui datepicker 选择中文年月时错误换行的解决办法
- Swt/Jface tableViewer总结(二)
- VMWare桥接到tap
- 工欲善其事必先利其器-简单几步打造顺手的python开发工具(windows,Linux多版本)
- 赛门铁克总裁兼首席执行官Enrique Salem:最新IT趋势
- 关于extern和static在C/C++中的作用