M
mike
I am adding a row to a table from a child window that opened from the
parent window.
My js looks like:
if ( self.opener.document.update )
{
var rows = self.opener.document.getElementById("A_Table");
myTR = self.opener.document.createElement("TR");
myTD=self.opener.document.createElement("TD");
myTEXT =
self.opener.document.createTextNode("test"); myTD.appendChild(myTEXT); myTR.appendChild(myTD); rows.appendChild(myTR);
}
This looks like it is executing, but i don't get anything showing up in
my parent window in the table. The table exists with an id="A_Table".
I'm concerned about the statement "rows.appendChild(myTR);"
Is this correct?
Mike
parent window.
My js looks like:
if ( self.opener.document.update )
{
var rows = self.opener.document.getElementById("A_Table");
myTR = self.opener.document.createElement("TR");
myTD=self.opener.document.createElement("TD");
myTEXT =
self.opener.document.createTextNode("test"); myTD.appendChild(myTEXT); myTR.appendChild(myTD); rows.appendChild(myTR);
}
This looks like it is executing, but i don't get anything showing up in
my parent window in the table. The table exists with an id="A_Table".
I'm concerned about the statement "rows.appendChild(myTR);"
Is this correct?
Mike