I have a form with an image contained inside.
<form method="post" action="phpscript.php">
<input type="image" name="picture" src="mypix.jpg" />
</form>
The image, in this case, works like a submit button. When activated, the name/value pair is sent - all is fine. However, I want to capture where the cursor is located over the image. This is also sent as name.x for the x-coord and name.y for the y-coord. When I use $_POST[name.x] to get the information, I get a convenient error message instead.
How do I get the cursor location information?
Thanks,
Gordon