wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "creating tables with DOM / IE" Watch "creating tables with DOM / IE" New topic

creating tables with DOM / IE

Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
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é

Joined: Nov 24, 2005
Posts: 14687

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!
I agree. Here's the link: http://aspose.com/file-tools
subject: creating tables with DOM / IE
Similar Threads
Create dynamic input text type in a table
Changing focus to dynamic text box
creating tables in IE7 - document.createElement("table")
How can I struts tag library with in javascript ?
building a html table, ID