RE: stupid simple piece of javascript code

2005-08-11 Thread SStewart
... and thus the Pipes were born the Scottish Rogues -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 04:54 pm To: CF-Talk Subject: RE: stupid simple piece of javascript code Importance: Low if ((theForm.send_email.value

Re: stupid simple piece of javascript code

2005-08-10 Thread Barney Boisvert
semicolon after the if clause. On 8/10/05, SStewart [EMAIL PROTECTED] wrote: Can somebody debug this? The Netscape javascript console says there's a syntax error at else function checkEmail() { if ((theForm.send_email.value != theForm.v_sendemail.value)||(theForm.ecs_email.value !=

Re: stupid simple piece of javascript code

2005-08-10 Thread Jerry Johnson
the semicolon after the )) on the if line. On 8/10/05, SStewart [EMAIL PROTECTED] wrote: Can somebody debug this? The Netscape javascript console says there's a syntax error at else function checkEmail() { if ((theForm.send_email.value !=

RE: stupid simple piece of javascript code

2005-08-10 Thread Ian Skinner
if ((theForm.send_email.value != theForm.v_sendemail.value)||(theForm.ecs_email.value != theForm.v_ecsName.value))**ERROR**;**ERROR* You don't put a ; at the end of the if clause. It end the entire if/else block leaving the rest flapping in the wind. Most likely a typo, but