I want to detect scroll change into dom element, for example:
<div id="box">
...
</div>
Imagine a box 300x200
, and I want to know if someone do a scroll inside it, and how much it is. How can I know?
I prefer only use Javascript and not JQuery, because I'm not loading it and I think it's a lot for too little, but I'm open to other opinions