Try var pos = $(this).position();
'this' is a object 2008/11/13 Espen AJ <[EMAIL PROTECTED]> > > I'm trying to get the position of all div-elements with a given class > ("point") with this code: > > $(".point").each( > function() { > var pos = this.position(); > alert(pos.left) > } > ) > > This is the error I get on the "var pos..." line: > Microsoft JScript runtime error: Object doesn't support this property > or method > > Can anyone tell me what i'm doing wrong? >