Javascript Reference
Categories: cells

javascript cells length

@July 1, 2008, 3:14 p.m.
length Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read-only  

Returns the number of elements in the collection of cells.

 
Example
 
var howMany = document.getElementById("myTable").rows[0].cells.length;
 
Value

Integer.


Powered by Linode.