I’m trying to get the position of an image using Jquery.
The only problem is that it only gives me the position where
the image where when the document loaded.
$(".frog").click(function(){
alert($(".frog").position().left);
});
How do I get the position of the image after it been moved?
/Johannes
.positiongives the position relative to the parent.offsetgives the position relative to the document