maxvergelli.com
Set “top,left” of an element with the position relative to the parent in jQuery
The .offset([coordinates]) method set the coordinates of an element but only relative to the document. Then how can we set coordinates of an element but relative to the parent? The.position() metho…