Ooops, typo in my code. Should read:
function DoSubmit(action)
{
document.myForm.fuseaction.value = action;
document.myForm.submit();
}
Sorry if there are others.
At 4:47 PM -0500 7/28/00, Chris Bartley wrote:
>Maybe don't make the images inputs at all, but rather just normal image tags wrapped
>with an href. The href could then call a function that dynamically sets the
>fuseaction (a hidden form field). Something like this:
>
><form name="myForm" action="index.cfm" method="POST">
> <input type="hidden" name="fuseaction" value="">
> <a href="javascript:DoSubmit('foo')"><img src="myimage1.gif"></a>
> <a href="javascript:DoSubmit('bar')"><img src="myimage2.gif"></a>
></form>
>
>the javascript would be:
>
>function DoSubmit(action)
> {
> document.myForm.fuseaction = action;
> document.myForm.submit();
> }
>
>Hope that helps.
>
>chris
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.