Javascript Reference
Categories: attributes

javascript attributes length

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

 

Read-only  

Returns the number of elements in the collection of attributes.

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

Integer.


Powered by Linode.