I need to create a table by just using the dom object, (not my choice but I have to work with what I have been given)
Example: createElement('table');
createElement('tr');
createElement('td') ect...
I need this to work for IE and FF.
What I want will have nested tables;
I want one table with 2 rows, the second row will have 3 cols. In each of the 3 cols will be one table with 2 cols each. To populate the rows of the 3 additional tables I will be looping through arrays (one array for each table).
Any examples or stub code would be great.
But my main question is for each table do I need to create a tbody tag as well?
I have done alot of research and people are saying that you need a tbody tag for your table, but do I need it for each table?
Thanks to all who reply,
KSS
Ordinary Programmer
Example: createElement('table');
createElement('tr');
createElement('td') ect...
I need this to work for IE and FF.
What I want will have nested tables;
I want one table with 2 rows, the second row will have 3 cols. In each of the 3 cols will be one table with 2 cols each. To populate the rows of the 3 additional tables I will be looping through arrays (one array for each table).
Any examples or stub code would be great.
But my main question is for each table do I need to create a tbody tag as well?
I have done alot of research and people are saying that you need a tbody tag for your table, but do I need it for each table?
Thanks to all who reply,
KSS
Ordinary Programmer