Using jquery, can I get the X and Y offsets of a particular element?
Relative to what? Its parent? The document?
CSS/position gets the top and left position of an element relative to its offset parent.
CSS/offset gets the current offset of the first matched element, in pixels, relative to the document.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With