function ShowDialog(path)
{
var txtReturn = window.showModalDialog('../FileUpload.aspx?FilePath=' + path,'','help: no;scroll: no;status: no;dialogWidth: 400px;dialogHeight: 300px;');
if(txtReturn!= null)
document.all.labPicName.innerText = txtReturn;
}
我通过这个函数取得模态窗口的返回值 在页面中能够显示调回的值但是后台labPicName.Text调式一直为空,请问是什么问题,怎样才能在后台取到值
{
var txtReturn = window.showModalDialog('../FileUpload.aspx?FilePath=' + path,'','help: no;scroll: no;status: no;dialogWidth: 400px;dialogHeight: 300px;');
if(txtReturn!= null)
document.all.labPicName.innerText = txtReturn;
}
我通过这个函数取得模态窗口的返回值 在页面中能够显示调回的值但是后台labPicName.Text调式一直为空,请问是什么问题,怎样才能在后台取到值
这样呢