micharg
Showing posts with label
Firebug
.
Show all posts
Showing posts with label
Firebug
.
Show all posts
Thursday, 15 December 2011
Firebug: get number of DOM elements
In Firebug console:
document.getElementsByTagName('*').length
See also...
getElementById(): Accesses the first element with the specified id
getElementsByName(): Accesses all elements with a specified name
References
w3schools
Older Posts
Home
Subscribe to:
Posts (Atom)