tBodies
Property of dom/HTMLTableElementdom/HTMLTableElement
Syntax
var result = element.tBodies;
element.tBodies = value;
Examples
This example shows how to put text in the first cell in the first row of the first tBody object in the table. For each table, an initial tBody object is synthesized in the HTML tree even if a tBody element does not exist in the HTML source.
document.all.oTable.tBodies[0].rows[0].cells[0].innerText =
"Text for the first table cell";
Notes
Remarks
This collection can be indexed by name (ID). If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.
Syntax
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
See also
Related pages
- tabletable
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]