cellsNN n/a   IE 4   DOM n/a

A collection of all TD elements contained within a single TR element. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single cell in the collection (e.g., document.all.myTable. rows[0].cells[0], document.all.myTable.rows(0).cells(0)).

 
 
Object Model Reference
IE document.all.table id.rows(i).cells(i)
document.all.table id.rows[i].cells[i]
lengthNN n/a   IE 4   DOM n/a
 Read-only
 

Returns the number of elements in the collection.

 
Example
var howMany = document.all.myTable.rows[0].cells.length
 
Value
Integer.