HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
SyntaxError
An Error object indicating that a syntax error exists; created using one of
the following constructors
new SyntaxError()
new SyntaxError( message )
where message is the text of the syntax error message
Properties
message
The text string of the error message
name
The name of the syntax error
Table
A Web table
Properties
caption
The table caption
rows
An array of table rows within the table
tBodies
An array of table bodies within the table
tFoot
The table footer
tHead
The table header
Methods
createCaption()
Adds a table caption element
createTBody()
Adds a new tbody element
createTFoot()
Adds a new tfoot element
createTHead
Adds a new thead element
deleteCaption()
Deletes the table caption
deleteRow( index )
Deletes the table row specified by index
deleteTFoot()
Deletes the first tfoot element
deleteTHead()
Deletes the first thead element
insertRow( index )
Inserts a new table row at the specified index
TableCell
A cell in a Web table
Properties
cellIndex
The index of the cell within its row
colSpan
The number of columns spanned by the cell
rowSpan
The number of rows spanned by the cell
TableRow
A row within a Web table
Properties
cells
An array of cells within the row
rowIndex
The index of the row within the table
sectionRowIndex
The index of the row within its table section
Methods
deleteCell( index )
Deletes the cell within the row at the index index
insertCell( index )
Inserts a new table data cell at the index index
TableSection
A table header, footer, or body section
Properties
rows
An array of table rows within the section
Methods
deleteRow( index )
Deletes the table row specified by index
insertRow( index )
Inserts a new table row at the index index
Search WWH ::




Custom Search