window.parent 表示父窗口window.opener 表示打开当前窗口的那个窗口
window.parent.opener表示打开父窗口的那个窗口,你有没有搞错??
解决方案 »
- asp.net GridView删除问题.........................................在线等
- aspx 定时发送邮件
- 我的SQL 2000数据库中有一个字段的数据类型是bit,那么我的asp.net程序中想插入一条数据的话,那个数据类型是什么样的,怎么转换
- 静态页面html如何引用aspx页面(除了iframe)
- 请问如何让显示的网址在表格中自动折行?
- 请问怎样打开URL格式的文件
- 国家,省/州,城市三级连动下拉菜单能不能作成微软的这种菜单风格啊:))http://www.microsoft.com/china/technet/itsolutions/smbiz/mits/
- 开200分求解困扰两天天的问题!!(顶有分)
- 想做一个备忘录, 怎么做??
- DropDownList的enableviewstate属性必须为true?
- vss2005
- ASP.NET中OutOfMemoryException异常的处理方案 ZZ
{
var array = _goodsinfo[i].split(',');
window.parent.opener.document.getElementById("goods"+i.toString()).value=array[11];
window.parent.opener.document.getElementById("remon"+i.toString()).value=array[12]
window.parent.opener.document.getElementById("noair"+i.toString()).value=array[13]
for(var j=1;j<11;j++)
{
window.parent.opener.document.all.MainDataListBox.rows(i+1).cells(j).innerText=array[j-1];
}
_price = new Number(array[7])
_num = new Number(array[8])
_sum = _sum+_num*_price
}父窗口代码
function IfNullRowT(rowid)
{
alert(2);
_code = document.getElementById("code"+(rowid-1).toString());
_name = document.getElementById("name"+(rowid-1).toString());
if(_code.value !="" && _name.value !="")
{
return true;
}
else
{
return false;
}
}
就是找不到code, 如果不打开子窗口就能找到code控件