WebForm1.aspx父窗体上有一个TextBox1的文本,我想在当子窗体关闭时把返回来的值付个这个TextBox1.
用
Response.write("<script language=javascript> doucment.?????.value=window.showModalDialog('WebForm2.aspx')</javascript>");
提示找不到对象!!请高手帮忙!!
用
Response.write("<script language=javascript> doucment.?????.value=window.showModalDialog('WebForm2.aspx')</javascript>");
提示找不到对象!!请高手帮忙!!
txtValue.value = returnValue
var obj=document.GetElementById("txtValue)
obj.value=returnValue;
</script>
window.close();var s = window.showModalDialog(url,name,par);
txtValue.value = s;
window.returnValue =返回值;
吗?
Response.Write("<script language=javascript> window.parent.returnValue='"+ Server.UrlEncode(theValue) +"';window.close();</script>");
这是从子窗体上的datagrid返回值