Retrieves the position of the object in the tbody, thead, tfoot, or rows collection.
dhtml语法
html | n/a |
---|
scripting | [ iindex = ] tr.sectionrowindex |
---|
dhtml可能的值
iIndex | Integer that
receives Integerthat 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.
是否符合公共标准
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
更多语法参考
cellindex, sourceIndex