Click on different rows to alert their position:
The sectionRowIndex property returns the position of a row in the rows collection of a <tbody>, <thead>, or <tfoot>.
The sectionRowIndex property is supported in all major browsers.
Return the sectionRowIndex property:
Return Value: | A Number, representing the position of the row in the rows collection of a tbody, thead, or tfoot |
---|
Return the position of the rows in the thead, tbody, and tfoot rows collection: