create
UK[kriˈeɪt] 美[kriˈet]
vt. To produce; to create, to create; to ennoble, to ennoble...(noble)
vi.[English][Slang] Lose your temper, complain
Third person singular: creates Present participle: creating Past tense: created Past participle: created
foot
英[fʊt] 美[fʊt]
n. Foot; bottom; foot (=12 inches or 30.48 cm); steps
vt. Walk, step
vt.& vi. Settlement, total, total
Third person singular: foots Plural: feet Present participle: footing Past tense: footed Past participle: footed
javascript createTFoot() method syntax
Function:Used to get or create the <tfoot> element in the table.
Syntax: tableObject.createTFoot()
Returns: Returns a TableSection, representing the <tfoot> element of the table. If the table already has a footnote, return it. If the table has no footnotes, create a new, empty <tfoot> element, insert it into the table, and return it.
javascript createTFoot() method example
<html> <head> <script type="text/javascript"> function createCaption() { var x=document.getElementById('myTable').createTFoot() x.innerHTML="My table foot" } </script> </head> <body> <table id="myTable" border="1"> <tr> <td>Row1 cell1</td> <td>Row1 cell2</td> </tr> <tr> <td>Row2 cell1</td> <td>Row2 cell2</td> </tr> </table> <br /> <input type="button" onclick="createCaption()" value="Create caption"> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance