I have structure:
<div class="parent">
<div class="child">
</div>
<div>
I have jquery binded click
$('div.parent').bind('click', function(e) { e.offsetX });
chid is centered, when I click it, I have e.offsetX of child not parent. How can I get parent offsetX, if clicking on child element?
I want to always get parent e.offsetX
I mean event.click offset, not container offset