javascript attributes length

length NN 6 IE 5 DOM 1  

 

Read-only  

Returns the number of elements in the collection of attributes.

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

Integer.


289,Nickname,Homepage or email,Comments here,Add comment