Note: Create empty <tfoot> 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