RE: [PHP] Image submit button not working.
| From: | Jason | Date: | Tue, 18 Jul 2000 17:23:07 +0000 |
| Subject: | RE: [PHP] Image submit button not working. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7103@lists.php.net to get a copy of this message | ||
Jay,
I don't think the input type=image has a value property. You should pass
the value in a hidden input in the form.
Jason
>
>
> Hello everyone--
>
> Here's a problem that I can't figure out. I have a form and I
> have an image
> as my submit button however as you can see from the line below I
> set the var
> to be checkOut with a value "Add To Cart" but when I press the button the
> value isn't passed to the next page. My question is: How can you have a
> submit button that is an image so that the values get passed?
>
> "<input type=\"image\" name=\"checkOut\" value=\"Add To
> Cart\"
> src=\"images/addtocart.gif\">
>
> Thanks,
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net