var result = element.tHead; element.tHead = value;
This example sets the color of the tHead object to blue.
document.all.myTable.tHead.style.color = "blue"
If the table doesn’t have a head section, the value for the property is null. If multiple table heads are listed in on a document, only the first one is treated as the head of the table.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Microsoft Developer Network: [Windows Internet Explorer API reference Article]