HTMLTableElement.rows

这篇翻译不完整。请帮忙从英语翻译这篇文章

表中所有行的

HTMLTableElement.rows 只读属性返回表中所有行的一个活的 HTMLCollection。The rows included in the associated <thead>, <tfoot> and <tbody> elements.

Although the property is read-only, the returned object is live and allows the modification of its content.

Syntax

HTMLCollectionObject = table.rows

Example

myrows = mytable.rows;
firstRow = mytable.rows[0];
lastRow = mytable.rows[mytable.rows.length-1];

Specification

文档标签和贡献者

 此页面的贡献者: xgqfrms-GitHub
 最后编辑者: xgqfrms-GitHub,