js子窗口操做父窗口的標籤

======================================父窗體
c#

<input id="aaaa" type="button"/>
function upfile()
        {
            
           resultValue = window.showModelessDialog("ceshi.aspx?file=DownFile", window, "dialogWidth=700px;dialogHeight=70px");
        }

======================================子窗體less

window.dialogArguments.document.form1.aaaa.value="asdad";
window.dialogArguments.document.getElementById("coursefile").innerText="asdad";
相關文章
相關標籤/搜索