something like... $("#div").click(function() { var ox = $(this).offset().left; var oy = $(this).offset().top; }
On Apr 22, 6:36 am, "David .Wu" <chan1...@gmail.com> wrote: > If I got a 400px width div, can I get the offset left distance from > mouse to the div in where I click?