Does anyone know why the following function works in FireFox but not in IE6?
function ShowTable()
{
clonedNode = document.getEle mentById("myTab le").cloneNode( true);
win = window.open();
win.document.bo dy.appendChild( clonedNode);
}
I am trying to display a table with id="myTable" in a new window. IE6
complains that "document.b ody" is null or not an object.
Thanks!
Michael Lee
function ShowTable()
{
clonedNode = document.getEle mentById("myTab le").cloneNode( true);
win = window.open();
win.document.bo dy.appendChild( clonedNode);
}
I am trying to display a table with id="myTable" in a new window. IE6
complains that "document.b ody" is null or not an object.
Thanks!
Michael Lee
Comment