Retrieves the position of the object in the rows collection for the TABLE.
Syntax
HTML N/A Scripting [ iIndex = ] oTR.rowIndex
Possible Values
iIndex Integer that specifies the index number. The property is read-only with no default value.
Remarks
This property is different from sectionRowIndex, which indicates the object's position in the TBODY, THEAD, or TFOOT rows collection. These sections are mutually exclusive, so the TR is always contained in one of these sections and in the TABLE. You can determine the rowIndex property of an object by the order in which the object appears in the HTML source.
Applies To
HTML N/A Scripting TR
See Also