What is the difference between position()
and offset()
? I tried to do the following in a click event:
console.info($(this).position(), $(this).offset());
And they seem to return exactly the same... (The clicked element is within a table cell in a table)