I am trying to capture a bunch of coordinates of an image before a form is submitted. It seems as though javascript doen't recognize the name.x and name.y values until after the form is submitted. Is this possible? When I use a standard submit button and do an alert before submitting for document.formname.inputname, it is an object. When I change the input type to image, it showns document.formname.inputname as undefined. Is this really the way it is? If so, how can I get the position of the coordinates with respect to an image?