I'm having a problem with the jquery.fn.offset = function() in
jquery-1.2.1.js using IE 6.0. In trying to step through the code in
Visual Studio (not easy), the debugger kept throwing me out of the
code at the very top of the function. I finally figured out that in
the line

        var left = 0, top = 0, elem = this[0], results;

"this[0]" evaluates to "undefined."

I am new to jquery, so I could be doing something wrong, but the code
seems to work fine in FireFox.

Anyone have any clue what could be causing this?

Thanks in advance.

Reply via email to