Web Features Learning Mode

An HTML form contains this form element:

<input type="image" name="myImage" src="image.png" />

The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?