<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>use the Name field, rather than the value
field.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><input type="submit" value="Please Click Here"
name="valueToBePassed"></FONT></DIV>
<DIV><FONT color=#0000c0><input type=</FONT><FONT
color=#000000>"image"</FONT><FONT color=#0000c0> src=</FONT><FONT
color=#000000>"images/submit.jpg"</FONT><FONT color=#0000c0> value=</FONT><FONT
color=#000000>"Submit"</FONT><FONT color=#0000c0> alt=</FONT><FONT
color=#000000>"Submit" name="valueToBePassed"</FONT><FONT
color=#0000c0>></FONT></DIV>
<DIV><FONT color=#0000c0></FONT> </DIV>
<DIV><FONT color=#0000c0><FONT face=Arial color=#000000 size=2>What you will
get, because it's an image, is valueToBePassed.x=number and
valueToBePassed.y=number, but you can parse for the existence of
valueToBePassed.</FONT></FONT></DIV>
<DIV><FONT color=#0000c0><FONT face=Arial color=#000000
size=2></FONT></FONT> </DIV>
<DIV><FONT color=#0000c0><FONT face=Arial color=#000000 size=2>N</FONT></DIV>
<DIV><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=kswilfong@hotmail.com href="mailto:kswilfong@hotmail.com">Karen
Wilfong</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 07, 2002 9:59
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] Passing a value
with an image submit button</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I need to submit a form with an image that also
passes a value when the image is clicked. With a submit button, it
would look like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><input type="submit"
value="myvalue"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>All of the scripts I've seen work fine if you
don't need to pass a value with the submit image. I can't use
another hidden field, the value must be passed with the image.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV></BLOCKQUOTE></BODY></HTML>