TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG-DEVEL:242] using images with POST



The best way to use an image instead of a button is to do something like
<a href="javascript:document.formname.submit()"><img src="image.jpg"></a>
or something to that affect.  You may have to do it in "long form" by
actually creating a
javascript function that does the document.formname.submit(); but I wouldn't
think so.

-Mike


> -----Original Message-----
> From: Jacqueline Urick [mailto:jacque@opencitizen.com]
> Sent: Monday, April 24, 2000 6:06 PM
> To: tclug-devel@mn-linux.org
> Subject: [TCLUG-DEVEL:242] using images with POST
>
>
> Hi there -
>
> Does anyone have a good resource that documents using an image with POST
> or GET, instead of a button? Has anyone on this list ever done it? I've
> looked all over developer.netscape.com, plus doing many many
> webserarches and found out why its sending back the mouse coordinates
> over the image, but I don't know how to deal with truncating that info
> in a script.
>
> tia!
>
> Jacque
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-devel-help@mn-linux.org
>