RE: [PHP] Submit button as image
| From: | Chris W. Parker | Date: | Wed, 12 May 2004 17:29:34 +0000 |
| Subject: | RE: [PHP] Submit button as image | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186021@lists.php.net to get a copy of this message | ||
Sam <mailto:php@itab.com>
on Wednesday, May 12, 2004 10:10 AM said:
> What do you do with this?
nothing. i usually don't give my image buttons a name value so that
never shows up. what it's meant for is server side image maps. the
browser is telling the server where on the image the user clicked. then
you as the programmer decide where the user be taken depending on where
they clicked.
> Is there some smarter way of dealing with an image as a submit button?
>
> input name="Submit" type="image" value="doesNOTseemTOmatter"
maybe the following will suffice?
<input type="image" src="path/to/file.jpg" />
hth,
chris.