EN
此内容没有您的语言版本,但有英语版本。

createTFoot method

Creates an empty tFoot element in the table.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

 

Syntax

var retval = table.createTFoot();

Parameters

This method has no parameters.

Return value

Type: Object

Returns the tFoot element object if successful, or null otherwise.

Standards information

Remarks

If a tFoot already exists for the table, the createTFoot method returns the existing element. Otherwise, it returns a pointer to the element created.

Examples

This example uses the createTFoot method to create a table footer.


myTFoot = document.all.myTable.createTFoot()

See also

table
Reference
createCaption
createTHead
deleteCaption
deleteTFoot
deleteTHead

 

 

显示:
© 2014 Microsoft