js子窗口操作父窗口的标签
时间:2014-05-20 17:27:59
收藏:0
阅读:362
======================================父窗体
<input id="aaaa" type="button"/> function upfile() { resultValue = window.showModelessDialog("ceshi.aspx?file=DownFile", window, "dialogWidth=700px;dialogHeight=70px"); }
======================================子窗体
window.dialogArguments.document.form1.aaaa.value="asdad";
window.dialogArguments.document.getElementById("coursefile").innerText="asdad";
本文出自 “程序猿的家” 博客,请务必保留此出处http://962410314.blog.51cto.com/7563109/1413769
评论(0)