You may use an image—called an active image— as a combination input element and submit button. In addition to submitting the data from the other fields in the form, a click on the image sends the current mouse coordinates to the server in two name-value pairs. The names are generated by adding .x and .y to the value of the NAME attribute. The values correspond to the actual horizontal and vertical locations (where 0,0 is the top-left corner) of the cursor.
To use an image to submit data:
1. | |
2. | |
3. | |
4. | |
5. |
Type the final > to finish the active image definition for the form. |