Edit This Code:
See Result »
Click on each tr element to alert its index position in the table:
Click to show rowIndex
Click to show rowIndex
Click to show rowIndex
Result: