Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get the length of element with display none

var total = document.querySelectorAll('[style="display: none;"]').length
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #length #element #display
ADD COMMENT
Topic
Name
9+3 =