OT was wondering if any Javascript guru's could give me a hand with this code

2001-12-19 Thread Troy Montour
Hello, sorry for the OT but only place I actually get some answers to my questions. I was wondering if somebody code point me in the right direction why this form Validation won't work in NS6 it works great in IE. in NS6 all it does is submit the form and no validation happens. I have

Re: OT was wondering if any Javascript guru's could give me a hand with this code

2001-12-19 Thread Don Vawter
I suppose you have type javascript: (hard to see colon) in the address bar and verified there are no errors? - Original Message - From: Troy Montour [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 9:31 AM Subject: OT was wondering if any Javascript

Re: OT was wondering if any Javascript guru's could give me a hand with this code

2001-12-19 Thread BILLY CRAVENS
That's a whole lotta code. Have you tried placing alerts at different points to see where it breaks? In order to figure out where your code is breaking, someone would have to either read all of your code, or recreate your form, since you didn't include the HTML. I doubt anyone will do either.

Re: OT was wondering if any Javascript guru's could give me a hand with this code

2001-12-19 Thread Troy Montour
I could include the form no problem on that. I had it with document.formname but was trying to see if that was causing my NS problem which it didn't help anything. and yes I have tested it with IE 3 and it works good but with NS it just basically submits the form with no error. here is the html

Re: OT was wondering if any Javascript guru's could give me a hand with this code

2001-12-19 Thread Douglas L. Brown
Here is what I use for CC validation, you could just add a few more cards , and it works fine with NS6. Function validate_card(){ var target = document.forms[0]; var number = target.card_number.value; var type = target.card_type[target.card_type.selectedIndex].value; var first_number =