Javascript Reference
Categories: TABLE

javascript TABLE rows

@March 15, 2008, 1:22 a.m.
rowsFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read-only  

Returns a collection of tr elements inside the entire table. You can also get a group of rows for each table section (tbody, tfoot, and thead element objects).

 
Example
 
var allTableRows = document.getElementById("myTable").rows;
 
Value

Reference to a rows collection object.

 
Default

Array of zero length.


Powered by Linode.