Javascript Reference
Categories: TR

javascript TR cells[ ]

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

Read-only  

Returns a collection of td or th elements nested inside the table row. Items in the collection are in source code order.

 
Example
 
var allRowCells = document.getElementById("myTR").cells;
 
Value

Reference to a cells collection object.

 
Default

Array of zero length.


Powered by Linode.