Deletes the thead element and its contents from the table.
dhtml语法
object.deletethead()
return value
no return value.
Remarks
If only one tHead element
exists in the source, the deleteTHead
method deletes the table header. If multiple tHead
elements have been defined, the next tHead element
in the source order is promoted as the table header.
DHTML代码范例
This example uses the deleteTHead method to delete the tHead element from the table.
document.all.myTable.deleteTHead()
是否符合公共标准
This method is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
更多语法参考
createcaption, createtfoot, createthead, deletecaption, deleteTFoot