position

UK[pəˈzɪʃn] US[pəˈzɪʃən]

n. Position, direction; status, position; attitude; status

vt .Place; put... in a proper position; position...; garrison troops

jquery position() method syntax

Function:The position() method returns the position (offset) of the matching element relative to the parent element. The object returned by this method contains two integer properties: top and left, measured in pixels. This method only works on visible elements.

Syntax:$(selector).position()

jquery position() method example

    

This is a paragraph.

Run instance »

Click the "Run instance" button to view the online instance