i want to create a table dynamically. Right now what i am using is a
string harcoded with the table structure with "<TD>"+values i want to
fill in the table dynamically.
and then padd this string to divID.innerHTML;
Is there a table object in javascript?
if there is How to use it????
> i want to create a table dynamically. Right now what i am using is a
> string harcoded with the table structure with "<TD>"+values i want to
> fill in the table dynamically.
> and then padd this string to divID.innerHTML;
> Is there a table object in javascript?
> if there is How to use it????
There is a table interface as part of the W3C DOM, browse here:
<UR:
http://developer.mozilla.org/en/docs/DOM:table#HTML_Table_Element_Interface
Don't use innerHTML to modify tables, you can use it to write an entire
table, or the contents of a cell, but not parts of the table.

Signature
Rob