wbs1ag
Last Updated: February 25, 2016
·
1.283K
· ihcsim
130921 tcl 103 s

Count Total Number of DOM Objects In Your Page

The more objects in your page, the longer it takes to load.

$("*").length;
Say Thanks
Respond

1 Response
Add your response

5655
Photo

Also, you can use a vanilla js version (works almost everywhere):

document.querySelectorAll('*').length

over 1 year ago ·