tr rowIndex property
tr object
Definition and Usage
The rowIndex property returns a row (rows ) within the collection of rows in the table (row index).
Syntax
Return the rowIndex property:
trObject.rowIndex
**Note:** The rowIndex property has no default value.
Browser support





All major browsers support the rowIndex property
Example
Example
The following example returns the position of a row in the table:
| Click to display the row index |
| Click to display the row index |
| Click to display the row index |
Try it »
tr object