File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes creating tables with DOM / IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "creating tables with DOM / IE" Watch "creating tables with DOM / IE" New topic
Author

creating tables with DOM / IE

Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
Hi,
I am trying to create tables using DOM scripting, and my code works fine in netscape and firefox, but not IE. The code below is the simplest I can get it.



I put the tbody statements in because one google search turned this up, but it didn't help.

Thanks, Karen.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Wouldn't that be tab.appendChild(tbody); ?


[My Blog]
All roads lead to JavaRanch
Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
arrrgh - yes, and now it does work. Thank you!
 
jQuery in Action, 2nd edition
 
subject: creating tables with DOM / IE