S
strauchdieb
hi,
i have a non-visible iframe on my page. in that iframe i load data in a
htmltable. if the data is ready, i want to take this table out of the
iframe and insert it in the parent. as soon as the data is ready, i
call a js.-method in my parent from within the iframe. this method has
one parameter, the table object.
no my problem:
in my parent i get the specific parent element with
getElementById("elementId"), in which i will add my table. now i add
the table with appendChild(tableObject) to that element. this call
works in firefox but don't work in ie. what's wrong with that? can
anyone help?
the code in my parent file looks like the following:
function SetDataTable(tableToInsert)
{
document.getElementById("tableHolder").appendChild(tableToInsert);
}
i have a non-visible iframe on my page. in that iframe i load data in a
htmltable. if the data is ready, i want to take this table out of the
iframe and insert it in the parent. as soon as the data is ready, i
call a js.-method in my parent from within the iframe. this method has
one parameter, the table object.
no my problem:
in my parent i get the specific parent element with
getElementById("elementId"), in which i will add my table. now i add
the table with appendChild(tableObject) to that element. this call
works in firefox but don't work in ie. what's wrong with that? can
anyone help?
the code in my parent file looks like the following:
function SetDataTable(tableToInsert)
{
document.getElementById("tableHolder").appendChild(tableToInsert);
}