Set two additional hidden input to store the x and y coordinates. When simulate the click, write to the hidden boxes the desired x and y coordinate (in unit px) before calling the .submit(). On the server, read the hidden boxes x and y in case the image submit button does not return the anticipated (x,y) coordinate.