Get co-ordinates of element relative to document using Jquery

Posted on 13-03-2017 by Nadir Latif


Source: http://api.jquery.com/offset/

Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document.