HTMLTableSectionElement : HTMLElement
Return to: HTML DOM Level 2 index

A header (thead), footer (tfoot), or body section (tbody) in an HTML table.

Platform Support

IE Mozilla Netscape Opera Safari Chrome
4.0+ 1.0+ 6.0+ 7.0+ 1.0+ no

Constructors

Constructor Action IE Mozilla Netscape Opera Safari Chrome
HTMLTableSectionElement Constructor() : HTMLTableSectionElement
A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
Show Details 4.0+ 1.0+ 6.0+ 7.0+ 1.0+ no

HTMLTableSectionElement() : HTMLTableSectionElement

A header (thead), footer (tfoot), or body section (tbody) in an HTML table.

Returns
HTMLTableSectionElement

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Safari Chrome
rows : HTMLCollection
Array of all of the HTMLTableRowElement objects in the section of the table.
Show Details 4.0+ 1.0+ 6.0+ 7.0+ 1.0+ no

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/table_access.html

Availability

HTML DOM Level 1|HTML DOM Level 2|W3C

Functions

Method Action IE Mozilla Netscape Opera Safari Chrome
deleteRow(Number index) : void
Deletes the row at the specified position in the table section.
Show Details 4.0+ 1.0+ 6.0+ 7.0+ 1.0+ no

Parameters
Number index Index position of the row to delete.

Returns
void

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/table_credel.html

See Also

HTMLTableElement.deleteRow

Availability

HTML DOM Level 1|HTML DOM Level 2|W3C

insertRow(Number index) : HTMLElement
Inserts a new empty row (tr element) at the specified position in the table.
Show Details 4.0+ 1.0+ 6.0+ 7.0+ 1.0+ no

Parameters
Number index Index of the row before where the row will be inserted.

Returns
HTMLElement

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/table_credel.html

See Also

HTMLTableElement.insertRow

Availability

HTML DOM Level 1|HTML DOM Level 2|W3C

Availability

HTML DOM Level 1|HTML DOM Level 2|W3C

text_javascript aptana_docs