How do you get left position of parent element
- by littleMan
I've tried using position.left it says invalid object i've tried css.('left') i don't really know what to do. I want to get the position of the parent element so I can animate the child element left position Im creating a scrolling effect.
<div id="MyDiv">
<div>Element 1</div>
<div>Element 2</div></div><div id="Prev">Prev</div><div id="Next">Next</div>