Avoid this if you can. Only takes one person without JS enabled and
bingo...they can't submit the form...not good...

-----Original Message-----
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, January 18, 2001 11:31 AM
To:     CF-Talk
Subject:        Re: Form Post with Image

You can execute the onclick event of the image to call the submit method
of 
the form.

In Javescript you would use something like:

<img src="someimage.gif" onclick="document.frmYourForm.submit();">

Bill Reichard
Willow Gold
[EMAIL PROTECTED]
http://www.willowgold.com

In a message dated 1/18/01 5:53:12 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:


> Hi all ,
> How can I post a form with an image instead of a button.
> Thanks
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to