top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is use for .offset() method in jquery ?

0 votes
78 views
What is use for .offset() method in jquery ?
posted Jul 26, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The .offset() method allows us to retrieve the current position of an element relative to the document. Contrast this with .position(), which retrieves the current position relative to the offset parent. When positioning a new element on top of an existing one for global manipulation (in particular, for implementing drag-and-drop), .offset() is more useful.

.offset() returns an object containing the properties top and left.

answer Jul 29, 2014 by Amit Kumar Pandey
Good explanation...
Similar Questions
+1 vote

Also tell me how to use this noConflict() method.

0 votes

Please help any one with some basic examples.Am new to j query.

0 votes

Please explain with some examples .

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...