HTML DOM 中的TableRow sectionRowIndex 属性用于返回行在 、
或 元素的行集合中的位置。语法:它返回 sectionRowIndex 属性。
tablerowObject.sectionRowIndex
返回值:它返回一个数值,表示行在 、
或 元素的行集合中的位置。例子:
HTML DOM sectiontableRow rowIndex Property
GeeksForGeeks
HTML DOM sectiontableRow rowIndex Property
Click on the row to get the
section index of the rows
Geeks
Geeks
For
Geeks
Geeks
Geeks
For
Geeks
Geeks
Geeks
For
Geeks
输出:
- 在按钮上计时之前:
- 点击按钮后:
支持的浏览器: HTML DOM TableRow sectionRowIndex 属性支持的浏览器如下:
- 谷歌浏览器
- IE浏览器
- 火狐
- 苹果浏览器
- 歌剧