Click location in image using JQuery
<p>is there an easy way to find where user clicked inside an image (div, ...), relative to top-left corner of the element? (using js/jquery)</p>

<p>Basic event.pageX/event.pageY does not take into account scrolling and element position. Combining Document.getScrollTop() and element.getAbsoluteTop ( <a href="http://stackoverflow.com/questions/1852921/mouse-click-location-on-an-image">Mouse click location on an image</a> ) does not look nice at all (may not even work on all browsers as far as I know).</p>

<p>Is there a simpler way to this?</p>
