sectionRowIndex Property | Internet Development Index |
Retrieves the position of the object in the tBody, tHead, tFoot, or rows collection.
Syntax
HTML N/A Scripting [ iIndex = ] TR.sectionRowIndex
Possible Values
iIndex Integer that receives Integer that specifies the index position of the object. The property is read-only. The property has no default value.
Remarks
The tBody, tHead, and tFoot sections are mutually exclusive, so a tr is always contained in one of these sections and in the table. The rowIndex property indicates the position of the object in the rows collection for the table. Collection indexes are in source order of the HTML document.
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
TR
See Also
cellIndex, sourceIndex