拷贝iframe里的table里的所有行到当前窗口指定的table时,怎么不行?
叶子哟 2005-08-04 01:39:15 function getmo()
{
try
{
var tableid;
tableid = window.frames["getmo"].document.getElementById("getmofromdb") ;//出错
if(tableid!=null)
{
for(int i=0;i<tableid.rows.length;i++)
{
modata.insertRow().appendChild(tableid.rows[i]);
}
}
//刷新getmo框架
window.frames["getmo"].location.href = 'getmo.jsp?randstr=' +Math.random();
}
catch(e)
{
alert('dd');
}
}