In javascript is it possible to trigger an action when a element (for example a div) is shown in the screen?
I have an "endless" grid that extends both horizontally and vertically, and I would like to load the elements dynamically using AJAX while the user scrolls.
Thanks