Javascript Reference
Categories: tBodies

javascript tBodies length

@Nov. 6, 2009, 4:17 p.m.
length Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read-only  

Returns the number of elements in the collection. It is 1 in most case, event there is no <tbody> tag.

 
Example
 
var howMany = document.getElementById("myTable").tBodies.length;
 
Value

Integer.


Powered by Linode.