natebroomfield
MIS
I am trying to update the contect of a <DIV> in IE using innerHTML to write HTML to it. It seems to accept most tags okay, but is ignoring anything to do with tables (TD, TR, TABLE).
document.all["divName"].innerHTML = "<TABLE><TR><TD>cell1</TD></TR><TR><TD>cell2</TD></TR></TABLE>";
would yield:
cell1cell2
How do I go about passing table-related tags?
document.all["divName"].innerHTML = "<TABLE><TR><TD>cell1</TD></TR><TR><TD>cell2</TD></TR></TABLE>";
would yield:
cell1cell2
How do I go about passing table-related tags?