Is it possible to know the position of the scroll of a given object through Jquery or pure Javascript?
I tried var posobj = $("#meuobjeto_id").scrollTop();
However, the value obtained is always 0.
Any idea?
I want the user to go through a certain object (not clicking, or passing the mouse, but scrolling the page) the object is animated, for this I am wanting to use scrollTop()