The information in this article applies to:
SYMPTOMSSetting table.innerHTML causes the following error message to appear:
CAUSEThe innerHTML property of the TABLE, TFOOT, THEAD, and TR elements are read-only. RESOLUTIONTo change the contents of these table elements, use the table object model or Document Object Model (DOM). STATUSThis behavior is by design. MORE INFORMATION
Use the rowIndex property or the rows collection to retrieve a reference to a specific table row. You can add or delete rows using the insertRow and deleteRow methods. REFERENCESFor more information on building tables dynamically see the following article on the MSDN Web Workshop: http://msdn.microsoft.com/workshop/author/tables/BuildTables.aspFor more information on the Document Object Model see the DOM Overview article on the MSDN Web Workshop: http://msdn.microsoft.com/workshop/author/dom/domoverview.asp For more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words: table innerhtml
Keywords : kbDHTML kbIE400 kbIE401 kbIE401sp1 kbIE401sp2 kbGrpInet kbIE500 kbDSupport |
Last Reviewed: October 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |