HBCMS更多的中文手册参考:

deleteTHead Method

DHTML文档教程

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 Non-Microsoft link.

Applies To

TABLE, TBODY

更多语法参考

createcaption, createtfoot, createthead, deletecaption, deleteTFoot