I currently have:
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
var items = document.getElementsByClassName('item');
The var items contains 'object HTMLCollection'
I want to check if the divs are visible on the screen, I know how to do that, but I need the divs in different Objects in jquery/javascript so I can check if the object is in the screen when the user scrolls (I'm using $( window ).scroll)
How do I achieve this?
div.itemeach iteration}