1
Property Name | Description |
---|---|
border | width in pixels of the table border |
caption | caption of the table |
cellPadding | space, in pixels, between the cell border and content |
cells | array containing each cell in the table |
cellSpacing | space, in pixels, between cells in the table |
frame | which parts of the outside table borders should be visible |
rows | array containing each row in the table |
rules | which inner borders are displayed |
summary | summary of the table for non-visual browsers |
tBodies | array of tbodies in the table |
tFoot | the tfoot object of the table |
tHead | the thead object of the table |
width | width of the table |
Method Name | Description | Values |
---|---|---|
createTFoot() | Returns a new tfoot (table footer) element for the table, or returns the existing one if one exists. | |
createTHead() | Returns a new thead (table header) element for the table, or returns the existing one if one exists. | |
deleteCaption() | Deletes the table's caption element. | |
deleteRow() | Deletes the table row at the specified index, the first row being index 0. If no index is given, the last row is deleted. | |
deleteTFoot() | Deletes the table's tfoot (table footer) element. | |
deleteTHead() | Deletes the table's thead (table header) element. | |
insertRow() | Inserts a new table row at the specified index, the first row being index 0. If index = -1, the row is appended as the last row. |