Skip to content
Advertisement

jQuery’s offset() function

I know jQuery does most when it comes to cross-browser issues. I just wanted to know if offset() method of jQuery serves the purpose of cross-browser compatibility, I mean top, left, etc properties that can be derived from it?

Basically once I apply top, left, etc properties (which are derived from offset() function) to an element, I need to make sure that the element appears at the specified location across all browsers.

Advertisement

Answer

Unless otherwise noted in the documentation, all jQuery methods will work in every supported browser.

You can also search the bug tracker.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement