Image submit button not working.
| From: | Paulson, Joseph V. \"Jay\" | Date: | Tue, 18 Jul 2000 17:19:33 +0000 |
| Subject: | Image submit button not working. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7102@lists.php.net to get a copy of this message | ||
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