Just check your (X)HTML reference for more details about <input
type='image'/>.
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
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
Alternatively I think this might work (and for text etc. too):
<form action="file" method="post">
<input type="text" name="blah" />
</form>
<span onclick="javasc ript:document.f orms[0].submit();">ima ge, text or
whatever</span>
Alternatively I think this might work (and for text etc. too):
<form action="file" method="post">
<input type="text" name="blah" />
</form>
<span onclick="javasc ript:document.f orms[0].submit();">ima ge, text or
whatever</span>
Don't *ever* suppose that the user has javascript enabled. Always provide an
alternative, non-javascript method for submitting the form, such as:
El placer es el bien primero. Es el comienzo de toda preferencia y de
toda aversión. Es la ausencia del dolor en el cuerpo y la inquietud en
el alma.
-- Epicuro de Samos. (341-270 a.C.) Filósofo griego.
Comment