might want to try throwing an else in the function to alert('foo'); or
something...just to see if the function -is- being called but not
catching the mismatched values for some reason.

is this page online somewhere i can take a look at the full page?



On Mon, 22 Nov 2004 15:29:56 -0500, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Sorry for the ot but i'm in a bit of a pickle. Can someone tell me why the
> following code doesnt work?
> 
> <script LANGUAGE="JavaScript" TYPE="text/javascript">
> function CheckPass()
> {
>         if (document.process_member.pass.value !=
> document.process_member.confirmit.value)
>                 {
>                         alert('"The passwords you entered do not match each 
> other. Please try
> again.")        return false;
>                 }
> 
> }
> </script>
> 
> <form ...blah... OnSubmit="return CheckPass();" name="process_member">
> 
> pass and confirmit both exist. I'm not getting any error codes. It's just
> processing the form without doing the JS first. What am I doing wrong?
> 
> Thanks,
> 
> Phil
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185064
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to