Just a note on type image input object in a form.  Type image acts just like
a submit button type so be cautious.  Not to confuse that with actually
using a <img> tag with onClick event handling.

-----Original Message-----
From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 7:07 PM
To: Fusebox
Subject: RE: image button navigation


Bizarre. What you are describing is just how I do this; with multiple
type="image" buttons responding to the OnClick event. And this doesn't work
with NS4.7? That's whacky. But then, what would you expect from AOL?

> -----Original Message-----
> From: Ken Beard [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 5:07 PM
> To:   Fusebox
> Subject:      image button navigation
>
> how do ya'll handle the situation where you've got 1 form that needs to go
>
> 2 different places, depending on which button is clicked when the button
> is
> an image.  I have been using the onClick handler of the type="image"
> button
> to set this.form.fuseaction.value to whatever.. but I ran into a problem
> with this recently: netscape 4.7 isn't firing that onClick event before
> submitting.  If I use an img and an anchor tag and
> document.forms[0].fuseaction.value=blah;document.forms[0].submit(); then
> my
> onSubmit event for that form doesn't fire, killing my javascript form
> validation.
>
> the only option I see at this point is to go with the img/anchor solution
> and try to make an invisible img button somewhere on the page and use its
> click() method, assuming netscape recognizes that.  but that's kinda messy
>
> and i don't even know if it will work.
>
> Ideas/solutions on this greatly appreciated, i'm in kind of a tight fix
> here and i've got to get this working quick.
>
> thanks
> Ken Beard
> Manager, Application Development
> Stone Ground Solutions
> 5100 West Kennedy Blvd, Suite 430
> Tampa FL  33602
> 813.387.1235 voice
> 866.767.4051 toll free
> 813.387.1237 fax
> www.stoneground.com
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to