JavaScript Reference/Javascript Properties/tHead
"tHead" Example
<source lang="javascript">
<html> <body> <script language="JavaScript"> function function1() {
document.all.myTable.tHead.style.backgroundColor = "blue";
} </script>
tHead, Cell 1 |
tBody, Cell 2 |
tBody, Cell 3 |
tBody, Cell 4 |
tFoot, Cell 5 |
<button onclick="function1();">Turn Head Blue</button> </body> </html>
</source>
"tHead" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+
| Applied_To |