<script defer>
function browser.onclick(){
var nW = window.open("","","width=170,height=200");
nW.moveTo(300,100);
nW.document.write("<script defer>\r"+
"var m=true;\r"+
"function insert.onclick(){\r"+
"if(m){\r"+
"opener.atext.value=btext.value;\rm=false;"+
"}else{\r"+
"opener.atext.value+='\-'+btext.value;\r"+
"}\r}\r"+
"<\/script>\r"+
"<input name=btext value=111111 size=10 style='BACKGROUND: #ffffff; BORDER-BOTTOM: #0A3EAE 1px solid; BORDER-LEFT: #0A3EAE 1px solid; BORDER-RIGHT: #0A3EAE 1px solid; BORDER-TOP: #0A3EAE 1px solid'>\r"+
"<input type=button value=选择 name=insert style='background-color: #EBF5FC; border: 1px solid #0099CC'>");
}
</script>
<textarea name="atext" cols="60" rows="4" ></textarea>
<input type=button value=选择参数 name=browser style="background-color: #EBF5FC; border: 1px solid #0099CC">
function browser.onclick(){
var nW = window.open("","","width=170,height=200");
nW.moveTo(300,100);
nW.document.write("<script defer>\r"+
"var m=true;\r"+
"function insert.onclick(){\r"+
"if(m){\r"+
"opener.atext.value=btext.value;\rm=false;"+
"}else{\r"+
"opener.atext.value+='\-'+btext.value;\r"+
"}\r}\r"+
"<\/script>\r"+
"<input name=btext value=111111 size=10 style='BACKGROUND: #ffffff; BORDER-BOTTOM: #0A3EAE 1px solid; BORDER-LEFT: #0A3EAE 1px solid; BORDER-RIGHT: #0A3EAE 1px solid; BORDER-TOP: #0A3EAE 1px solid'>\r"+
"<input type=button value=选择 name=insert style='background-color: #EBF5FC; border: 1px solid #0099CC'>");
}
</script>
<textarea name="atext" cols="60" rows="4" ></textarea>
<input type=button value=选择参数 name=browser style="background-color: #EBF5FC; border: 1px solid #0099CC">
标签:
父窗口获取弹出子窗口文本框的值
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“父窗口获取弹出子窗口文本框的值”评论...