micharg
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment