Count div with class (.length) only shows 0 [closed]
I’ve run into this a couple of times with plugin content. It seems like the document ready event is fired while dynamic content is still being loaded. The way to check is to leave the Javascript where it is and load the page. When the page is fully loaded, get to your browser console (right … Read more