THEAD.rows[] (Collection)

A collection of rows within a <THEAD> block of a table.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Collection object
JavaScript syntax:-myTHEAD.rows

This is not the same as the rows collection returned from a TABLE object. That is because the rows[] collection belonging to a THEAD object can only list those TR objects that are contained within the <THEAD> tags.

See also:Collection object, TABLE.cells[], TABLE.cols, TABLE.rows[], TBODY.rows[], TFOOT.rows[], TR.rowIndex

Property attributes:

ReadOnly.