|
Posted by Iván Sánchez Ortega on 02/10/07 16:16
crater wrote:
> Is there a way to get an HTML form to be submitted (via POST) by using
> an image button instead of a submit button for instance?
<form action='foobar.php' method='post'>
<input type='image' src='foobar.png' />
</form>
Just check your (X)HTML reference for more details about <input
type='image'/>.
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.17-1-686 kernel, KDE3.5.3, and PHP
5.2.0-8 generating this signature.
Uptime: 17:15:18 up 16:04, 1 user, load average: 0.69, 2.05, 1.57
Navigation:
[Reply to this message]
|