Discussion Locked

Dynamic Table

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to collect a bunch of data on a page and display it in a table then submit the arrays to validation when the user is ready. I'm having trouble getting the table to show up (dynamically creating tr,td etc)...this works in Netscape, but notin IE 5.0...any suggestions out there?

var tbody = document.getElementById('hiVolData');
var row = document.createElement('tr');
var td = document.createElement('td');
td2.setAttribute('class','dataTblHdr'); td2.appendChild(document.createTextNode("ref#"));
row.appendChild(td);
tbody.appendChild(row);

Thanks!

1 reply

by grosbach

I've got IE to populate a table on the fly by putting documnent.write() calls at the spot in the where I wanted the table.

This discussion is closed to new replies.