thanks, this worked great
----- Original Message -----
From: "DeVoil, Nick" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 7:23 AM
Subject: RE: CFSELECT and Java


> JavaScript is case-sensitive so you nee "if" not "IF."
> Also BTW the code says do the popoup if all three are different.
>
> I think you want sth like
>
> if ((document.favform.myselectbox1.value ==
> document.favform.myselectbox2.value) ||
>       (document.favform.myselectbox1.value ==
> document.favform.myselectbox3.value) ||
>       (document.favform.myselectbox2.value ==
> document.favform.myselectbox3.value))
>     { popup code;
>         return false;
>       }
>
> Nick
>
> -----Original Message-----
> From: Cami Lawson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 1:13 PM
> To: CF-Talk
> Subject: Re: CFSELECT and Java
>
>
> I have three cfselects that I need to compare their values before leaving
> the form for my processor page, I already have a popup message coded to
come
> up if any of the three are the same.  I have tried
>
> IF ((document.favform.myselectbox1.value !=
> document.favform.myselectbox2.value) &&
>       (document.favform.myselectbox1.value !=
> document.favform.myselectbox3.value) &&
>       (document.favform.myselectbox2.value !=
> document.favform.myselectbox3.value))
>     { popup code;
>         return false;
>       }
>
> I get errors when I put these statements in my javascript for the popup.
It
> acts like it doesn't know what the cfselect values are.
>
>
> **********************************************************************
> Information in this email is confidential and may be privileged.
> It is intended for the addressee only. If you have received it in error,
> please notify the sender immediately and delete it from your system.
> You should not otherwise copy it, retransmit it or use or disclose its
> contents to anyone.
> Thank you for your co-operation.
> **********************************************************************
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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