how to get the length of element with display none

73

var total = document.querySelectorAll('[style="display: none;"]').length
var totalHidden = container.querySelectorAll('li[style="display: none;"]').length;

Comments

Submit
0 Comments