The offsetX property returns the x-coordinate the mouse cursor, relative to the target element.
In this example, the red DIV is the target element.
Click inside the red DIV element:
你的E-mail:
网页地址:
描述: