[thelist] MSIE 6 & appendChild on a table

Maximillian Schwanekamp lists at neptunewebworks.com
Sat Sep 24 16:54:04 CDT 2005


Andrew Clover wrote:
> So to add rows in a way that's more likely to work, add them to the 
> tbody element:
>   answersTable.tBodies[0].appendChild(newClone);

Ahhh!  Great.  Thanks for the education and saving my hair.  Works as 
expected now.  I guess I'll have to read on to find out why FF and Opera 
would handle appending to the body element while IE would not.

-- 
Max Schwanekamp
http://www.neptunewebworks.com/



More information about the thelist mailing list