Mega Code Archive
CreateTHead() Syntax, Parameters and Note
Note:
These methods create empty rows for the table.
Syntax:
document.getElementById("tableID").createTFoot()
document.all.tableID.createTFoot() // IE only
document.getElementById("tableID").createTHead()
document.all.tableID.createTHead() // IE only